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

what is a static constructor?

0 Answers  


Can abstract classes be final?

0 Answers  


Explain ACID rule of thumb for transactions.

1 Answers  


What is difference between a constant and read-only in C#?

0 Answers   CDC,


What is toint32 c#?

0 Answers  






Explain the different ways a method can be overloaded?

0 Answers  


What is web forms in c#?

0 Answers  


What is the process of delegation?

0 Answers  


Is stringbuilder better than string?

0 Answers  


What do you mean by “finalize” and “finally” methods in c#?

0 Answers  


Hai I am Shiva from TN, SSE.I have an query problem. My Table : Door Field : ID,DoorID,ZoneID,Date,Time,Status. Problem was : Status.We got two values, one is 00 (OUTTIME) , Another is 01(INTIME) Like this Status --------- 00 01 00 01 00 01 00 01 How to Set as Status 00 and 01 , of separate column , Status as Intime,Status as Outtime Like this ----------- InTime OutTime ---------- ----------- 01 00 01 00 01 00 01 00 01 00 01 00 Regards KS kumar

1 Answers  


i need to insert data into sql server table emp through textboxes txtname and txtsalary using c# code. Please help

1 Answers  


Categories