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 the keyword used to prevent a class from being inherited by another class?
Why c# is called type safe language?
Why we use get and set property in c#?
Why do we need events in c#?
What is a cshtml file?
What are the steps for creating clr trigger
Explain the process of Serialization?
What is difference between out and ref in c#?
Why do we use partial class in c#?
Explain the types of Polymorphism.
What is cshtml extension?
Is there hashmap in c#?
Which one is trusted and which one is untrusted?
Is enum a value type c#?
Why we use extension methods in c#?