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

Can we extend sealed class in c#?

861


How do you escape in c#?

880


What is check/uncheck?

1119


What is the purpose of a namespace?

811


Can non-default constructors be used with single call sao?

957


List down the commonly used types of exceptions in .net

839


what is IDisposal interface,IComparable,IEquatable,IFormatable

958


Is system a class in c#?

866


Name the two classes are required for implementing a windows service?

977


Is c# code is unmanaged or managed code?

1059


How do I type a whitespace character?

995


What is the diff between System.String and System.Text.StringBuilder classes?

950


What is the use of functional interface?

861


What does console writeline do?

844


What is local function?

886