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 the difference between gettype and typeof in c#?

908


Describe the parts of assembly.

950


Differentiate between sqlclient oledb and providers?

956


What is a satellite assembly in c#?

1001


Explain the constructor in c#.

1105


What is multicast delegate explain with example?

996


What is difference between tostring() vs convert.tostring() vs (string) cast

1041


How long can a string be c#?

904


Illustrate the differences between the system.array.copyto() and system.array.clone()?

983


Distinguish between finally and finalize blocks?

918


How many bytes is an int in c#?

937


Explain copy constructor?

1152


Explain async and await?

1845


What are All kind of access specifiers for a class and for methods

1069


What is a delegate in c#?

936