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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'Let' and 'Set' assignment statements are no longer supported.

Status
Not open for further replies.

Govnor

Technical User
Sep 3, 2002
55
GB
Hi,

just getting started with asp.net

these commands work in asp 2.0
Set Con = Server.CreateObject( "ADODB.Connection" )
Set RS = Server.CreateObject( "ADODB.Recordset" )

but do not work in asp.net

so how do i use recordset and a ado connection in asp.net

thanks for any help please
 
Rather than use the old clunky and slow ADODB objects check out the framework ADO.NET objects. You can find them under the system.data namespace. For a SQL database use the SqlClient class. For other database types use the OLEDB class. Remember everything is done with objects. You'll find a connection object, command object, data adapter objects, everything you may need. If you still need more help feel free to post and I'll see what I can do

That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top