Wrox Programmer Forums
|
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 9th, 2006, 04:06 PM
Registered User
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default DSN vs SQLOLEDB

I have the following connection strings

MM_tosql_STRING = "dsn=xxxxxxx;uid=xxxxxx;pwd=xxxxxx;"

MM_tosql_STRING = "Provider=SQLOLEDB;Data Source=xxxxxx;User Id=xxxxxxx;Password=xxxxxx;"

they both work BUT

the dsn string does not display certain data the way I want it to when viewing on a webpage

and the SQLOLEDB string does not reckognize any variables from stored procedures when using repeat regions or page sets

can any one explain this and give me a solution???

as always,
Joe Mama loves you
 
Old June 1st, 2006, 03:46 PM
Registered User
 
Join Date: Jun 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

on SQLOLEDB, try saving or returning the stored procedure variables to session variable so that it is accessible all through out the session.






Similar Threads
Thread Thread Starter Forum Replies Last Post
DSN umeshtheone SQL Server 2000 1 June 8th, 2007 04:18 AM
Application DSN and Session DSN ssampanthar Classic ASP Databases 0 January 6th, 2005 01:23 PM
stored procedures and sqloledb terre SQL Server ASP 11 November 22nd, 2004 07:27 PM
sqloledb vs sqloledb.1 ckepford SQL Server ASP 3 November 9th, 2004 02:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.