Click here to Skip to main content
15,906,269 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
how to bind sqlserver data to asp.net controls using javascript
Posted
Comments
Hiren solanki 10-Nov-10 4:13am    
that's long story , pour some efforts from your side.

1 solution

have you tried using AJAX to call another page in background?

i'll probably solve it this way.

let's say you want those data on page1. you can call page2 in background through AJAX and all page2 has to do is connect to the database and fetch the data you need and return it to the caller at page1. Once done you can now assign the data to the controls through their ids.

just double check the source in the browser. asp.net control ids may not be the same when the page is already loaded in the browser.

i can't be really sure because you have quite a short description of what you want to do but i hope this helps a bit. :)
 
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