3.2.0

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
August 28,
Here is the classic ASP example -

http://www.activewidgets.com/grid.examples/asp-adodb.html
Alex (ActiveWidgets)
August 29,
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
January 23,
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
February 20,
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
February 21,
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
April 25,
>> updating the database could you please provide
>> a very simple example of how to do this?
http://www.activewidgets.com/javascript.forum.19448.0/sample-code-to-edit-grid.html
Biju
April 30,

This topic is archived.

See also:


Back to support forum