Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello!
How to get A userId from DB and save it to variable in my windows form .
Posted
Comments
Kenneth Haugland 31-Jul-12 2:39am    
That is approximatly one page of code.....
OriginalGriff 31-Jul-12 2:40am    
That's not a question we can answer in it's present form.
We need to know more about what you are trying to do - remember we can't see your screen, access your HDD or read your mind!
Use the "Improve question" widget to edit your question and provide better information.
Sebastian T Xavier 31-Jul-12 2:47am    
His requirement is clear. We should write a program for him to "get A userId from DB and save it to variable". I can, If he is ready to remunerate me.
OriginalGriff 31-Jul-12 3:02am    
I'd still want a better specification! :laugh:
Sebastian T Xavier 31-Jul-12 3:23am    
You are right. :)

Hi,
Refer the links below for related articles & discussions:
Login Form Validation in C#[^]
Splash and Login Forms (Problems and Solutions)[^]
Code for login form in c#[^]

--Amit
 
Share this answer
 
v2
First up all You have to insert the 'UserID' value into the table.
after that for retrieving the data u have to use command
"select * from TableName" after that u have to insert the data means the data will be saved by using this command
"insert into TableName values"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900