Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain the difference between a namespace and assembly name in .net?

940


What are the classes contained in a single .NET DLL ?

936


What is hashtable in c# with example?

964


Can abstract class have private constructor c#?

953


How is a strongly-named assembly different from one that isn’t strongly-named?

1057


Is hashset ordered c#?

970


What is entity framework c#?

876


What do you use c# for?

927


Define delay signing?

937


What is generic delegate in c#?

936


How do I declare inout arguments in c#?

940


What is difference between hashtable and dictionary in c#?

959


What are the main reasons to use c# language?

959


How do you achieve polymorphism in c#?

902


Why we use get and set method in c#?

957