i have a table named login in mysql database containing
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

Does C# supports multi-dimensional arrays ?

4 Answers   Microsoft,

What is the use of the static constructor? When static constructor gets compiled?

1 Answers   Syntel,

What is the implicit name of the parameter that gets passed into the class set method?

0 Answers  

Explain the functionalities of satellite assembly?

0 Answers   Siebel,

What are PE(Portable Executable)?

0 Answers   MCN Solutions,

Explain the types of errors in c#?

0 Answers  

Valuetype/reference type?

6 Answers   Microsoft,

Can we use "this" command within a static method?

0 Answers  

What is a delegate? How can it works?

0 Answers   Siebel,

directcast(123.34,integer) - should it throw an error? Why or why not?

2 Answers   Wipro,

Are value types sealed?

0 Answers  

How can I access the registry from c# code?

0 Answers