Click here to Skip to main content
15,896,378 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in database i have table named MYTABLE

i have 3 feilds in it (firstname) (lastname) (city)

and when in aspx

i have textbox1 textbox2 textbox3

and in output when textbox1 is autofilled the immediate results should pass to textbox2 & textbox3 from database

COULD U EXPLAIN ME THE BETTER WAY TO DO........

THANKS
IN REGARDS
Posted
Updated 14-Sep-12 2:41am
v2
Comments
AmitGajjar 14-Sep-12 9:07am    
how your textbox1 will autofilled ?

Collect the Data into a datatable and fill it accordingly

for suppose the datatable contains firstname, lastname and city then textbox1.text = datatable1.rows[0]["FirstName"].tostring()...

Am I answered your query or let us know what exactly you are expecting.
 
Share this answer
 
Comments
darshith 14-Sep-12 8:40am    
ya but i need other textboxes to retrive the data from database automaticlly with out entering
make sure that text box autocomplete property is false
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900