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 constructor overloading in c#?

0 Answers  


Is there any sample c# code for simple threading?

0 Answers  


What is ienumerable and iqueryable?

0 Answers  


How can you access a private method of a class?

0 Answers  


What is Lambda Expression?

1 Answers  


Write a syntax for writing a event delegate.

0 Answers  


Is system a class in c#?

0 Answers  


What is class and object c#?

0 Answers  


What is the difference between select and selectmany?

0 Answers  


How structure objects are destroyed? As GC releases only the objects in stack, and structure is a value type and stored in heap. So how structure objects are released?

2 Answers  


Can an interface inherit an interface

1 Answers   Synechron,


How to declares a two-dimensional array in C#?

0 Answers   DELL,


Categories