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

Why do we need oops in c#?

0 Answers  


What is the difference between dynamic type variables and object type variables in c#?

0 Answers  


Why do canadians say zed?

0 Answers  


Why is main static in c#?

0 Answers  


What is readline c#?

0 Answers  


If you want to write your own dot net language, what steps you will u take care?

0 Answers  


Can an interface inherit an interface

1 Answers   Synechron,


Why do we need constructors?

0 Answers  


What is the difference between icomparer and icomparable in c#?

0 Answers  


What are collection classes?

0 Answers  


What is array? What are jagged array ?

1 Answers  


What is property c#?

0 Answers  


Categories