i have a table named login in mysql database containing
(empid,fname,lname,mobno,emailid,usrname,usrpwd)
i have 2 textboxes in which i enter my username and pwd..so
based on what is entered in those textboxes it should
retreive all other details of dat username in the remaining
6 textboxes..i want the code for this...



i have a table named login in mysql database containing (empid,fname,lname,mobno,emailid,usrname,u..

Answer / arush

SELECT empid,fname,lname,mobno,emailid FROM login where
usrname ='Textbox1.Text' and usrpwd ='Textbox2.Text';

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How do we achieve encapsulation in c#?

0 Answers  


hi In my database i put id column as identity(the database is incremented by it self only)what i want is if i enter a data in my website, id will come automatically can u pl z tell me the code thax in advance

1 Answers  


How do I join one form to another in c#?

0 Answers  


what are implementation inheritance and interface inheritance?

0 Answers  


What is string empty?

0 Answers  


Can partial class be inherited?

0 Answers  


What are boxing and unboxing?

0 Answers  


Define c# and list the features.

0 Answers  


What is a derived class in c#?

0 Answers  


What is data types in c#?

0 Answers  


What is difference between a type and class?

0 Answers   Arigo Infotech,


What is xor operator in c#?

0 Answers  


Categories