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

Can we define a variable with the access modifier private in an interface?

7 Answers   IBM,

What does the keyword “virtual” declare for a method or property?

0 Answers  

what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

0 Answers   CTS,

Can an exception be thrown from a catch block?

0 Answers   Alcatel-Lucent,

What does the This window show in the debugger?

2 Answers  

Does C# support multiple inheritance?

3 Answers   IBM, Visual Soft,

Hi to everybody. Lastweek i had taken an interview on c#. They ask what is boxing & unboxing, Masking.Please tell the answer and it is useful for me.

8 Answers  

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

0 Answers  

What is Interface Polymorphism?with E.g

1 Answers  

An abstract class is inherited, an Interface also inherited(multiple inheritance), How it differences.

6 Answers   Synechron,

If we inherit a class do the private variables also get inherited ?

2 Answers   TCS,

What?s the difference between an interface and abstract class?

6 Answers   Mind Tree,