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

if a method is marked as protected internal who can access it?

0 Answers   Siebel Systems,


What is lazy class in c#?

0 Answers  


what is dynamic sql

2 Answers   TCS, Wipro,


Is string a primitive data type in c#?

0 Answers  


What is an enumerator c#?

0 Answers  






When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?

1 Answers  


Which is better interface or abstract class in c#?

0 Answers  


Which of the following API is used to hide a window?

0 Answers   3i Infotech,


Where do we use serialization in c#?

0 Answers  


Compare and contrast between the System.Array.CopyTo() and Clone()?

0 Answers   Siebel,


Why are dynamic link library used over static one?

0 Answers   C DAC,


what is the difference between .dll and .exe

0 Answers   HCL,


Categories