:: Forum >>

HOw to embeded to classic ASP

Hello, I think this is a good product, but my question is how can you embeded ASP recordset in to:

var myCells = [
["MSFT","Microsoft Corporation", "314,571.156"],
["ORCL", "Oracle Corporation", "62,615.266"]
];

Since it is under the script close tag?

thanks a lot, if this work, I won't hasetate to buy it right away.
John
Monday, August 28, 2006
Here is the classic ASP example -

/grid.examples/asp-adodb.html
Alex (ActiveWidgets)
Tuesday, August 29, 2006
this should help;

var myData = [
<% do while not rs.eof %>

["<%=rs.fields(0)%>","<%=z%>", "<%=rs.fields(2)%>", "<%=rs.fields(3)%>"],

<%rs.movenext
loop %>

];

var myColumns = [
"bla", "bla", "bla", "bla",
];
</script>
kenrox
Tuesday, January 23, 2007
Yea thats easy stuff.

BUT...

How do you write the data back to the database.

No one seems to know how to do that.
mike
Tuesday, February 20, 2007
Huh? You just loop through it in javascript and pass it to the server side however you want, just like any other client-side object, no problemo.
Finder
Wednesday, February 21, 2007
Finder or anyone else....

If it is no problemo for updating the database could you please provide a very simple example of how to do this? I (and others) would greatly appreciate it. This is a cool script but the last piece of 'how to' is updating a database...but no example can be found.

Thanks.
Todd
Wednesday, April 25, 2007
>> updating the database could you please provide
>> a very simple example of how to do this?
/javascript.forum.19448.0/sample-code-to-edit-grid.html
Biju
Monday, April 30, 2007

This topic is archived.


Back to support forum

Forum search