tc3596
Technical User
- Mar 16, 2001
- 283
Here's my situation. I am trying to create a chart and display it on a web page. I found some code that does all of this for me using javascript. Unfortunately, the example hard codes the array values (chart is actualy a gantt chart). As a matter of fact, all the examples hard code the data, which is completely useless.
On Page_Load in ASP.net, I connect to sql server and get back a recordset already in array form. Now, I just need that information passed to the javascript function.
The page has no forms and all (most) of the javascript code lies in the body of the page.
I was reading about how I may need a master page and then post back the data to the page with the javascript, but I don't know how to do this.
I would also be happy connecting to the database via javascript.
Any thoughts or insight is appreciated.
On Page_Load in ASP.net, I connect to sql server and get back a recordset already in array form. Now, I just need that information passed to the javascript function.
The page has no forms and all (most) of the javascript code lies in the body of the page.
I was reading about how I may need a master page and then post back the data to the page with the javascript, but I don't know how to do this.
I would also be happy connecting to the database via javascript.
Any thoughts or insight is appreciated.