Connection Help
I am trying to re-design a website, but I think the old website is using some old code. Here is the connection string they were using
<SCRIPT LANGUAGE="JavaScript" RUNAT="server">
function _initRecordset1()
{
thisPage.createDE();
var rsTmp = DE.Recordsets('AdsByCategory');
Recordset1.setRecordSource(rsTmp);
Recordset1.open();
if (thisPage.getState('pb_Recordset1') != null)
Recordset1.setBookmark(thisPage.getState('pb_Recor dset1'));
}
function _Recordset1_ctor()
{
CreateRecordset('Recordset1', _initRecordset1, null);
}
function _Recordset1_dtor()
{
Recordset1._preserveState();
thisPage.setState('pb_Recordset1', Recordset1.getBookmark());
}
</SCRIPT>
I am not sure why it is set up this way, espacially with the include file, it's huge with over a thousand lines of code. All I want is to open up the table so I can display all the records.
Thanks :)
-----------------------------------------------------------
"Don't follow someone who's not going anywhere" John Mason
__________________
-----------------------------------------------------------
\"Don\'t follow someone who\'s not going anywhere\" John Mason
|