Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

recordset connection

Status
Not open for further replies.

gcole

Programmer
Aug 2, 2000
390
US
How do you open a recordset in javascript. Can you make it an object? ADO, Odbc???
 
Yes, but this is typically done on the server, using ASP...

forum333 is the ASP forum...another way, more related to DHTML and a propietray IE4+ solution is databinding.

jared@aauser.com
 
I agree with 'jaredn' that opening a recordset (done the right way) requires server-side code, but it has to go to the browser at some point. If you want to simply send the data as static HTML, that is no problem. If you want to be able to do some client-side filtering, sorting, etc..., you can create an array in Javascript. But if you want total client-side control over your recordset, then it is a really good idea to create a custom recordset object in Javascript.

There is a book called "Javascript Objects" by Wrox Press, that covers this concept extensively. I recommend it highly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top