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...
Answer Posted / 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 View All Answers
What is serialization of data?
What is difference between mutable and immutable in c#?
What is desktop GUI application?
What is thread in c#?
Which is executed if an exception has not occurred?
Can an array be null c#?
What is the purpose of the integer parse method the decimal parse method?
Why do we need private constructor in c#?
Give an example of a directcast.
if a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?
Explain the different types of delegates used in c#.
What is the difference between static class and singleton class in c#?
What is difference between new and override in c#?
Is concurrent queue thread safe?
How Do You Convert A Value-type To A Reference-type?