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

Is collection a data structure?

0 Answers  


What?s the top .NET class that everything is derived from?

3 Answers  


What is different between Implicit conversion and Explicit conversion in C#?

0 Answers  


What does clr stand for?

0 Answers  


What is difference between value and reference types ?

4 Answers   Accenture,






Are attributes inherited c#?

0 Answers  


How do you restrict the type which can be used in custom generic?

1 Answers   IBM,


Why does dllimport not work for me?

0 Answers  


Is list ienumerable c#?

0 Answers  


what r arraylist? what the use of Hashtables?

4 Answers  


Is c# a strongly-typed language?

0 Answers  


1.write a program in C# to find a given point which is inside in a circle. Given circle's radius and its center point? 2.Write a program in C# to generated 20 prime numbers greater than a given number? (It should be more efficient for large numbers also) 3. Write a Code to check whether a given point is inside a circle or not? given Circle's raduis and its center point. 4. using oops concept, design an elevator do not forget buttons on each floor..

2 Answers  


Categories