Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 RDS DSO

Author  Topic 

dataphile
Yak Posting Veteran

71 Posts

Posted - 2002-06-11 : 08:53:14
I found this examples like this on the internet, dealing with RDS DSO in ASP.NET. Can anyone tell me what's wrong with it?
In the same breath they talk about XML DSO etc. that works similarly, but with a different OBJECT.

<%@LANGUAGE=VBSCRIPT@%>
<html>
<body>
<OBJECT CLASSID="clsid:BD96C556-65A3-11D0-983A-00C04FC29E33" ID="DTControl">
<PARAM NAME="Connect" VALUE="DSN=LocalServer; UID=user1;PWD=pwd;">
<PARAM NAME="Server" VALUE="http://server1">
<PARAM NAME="SQL" VALUE="select count(*) counted from sysobjects">
</OBJECT>
<table>
<tr>
<td>
<div DATASRC="#DTControl" DATAFLD="counted">
</td>
</tr>
</table>
</body>
</html>

They all claim that this is all you need although it looks a bit lean if you are used to ADO.


   

- Advertisement -