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

What is c# entity framework?

865


Explain about WSDL

1007


Is c# good for web development?

918


What is xpath in c#?

907


What is namespace c#?

884


Why is lazy loading?

838


What is c# used for?

990


What does f mean in c#?

875


Define satellite assembly in c#?

849


Explain Direct CAST vs CType ?

982


What is int32 maxvalue?

920


What is Covariance and contravariance in C#?

1006


Is datetime value type c#?

829


Are classes passed by reference in c#?

852


How to implement an object pool in c#.net.

1012