Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 October 14th, 2006, 11:14 AM
Registered User
 
Join Date: Oct 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ramesh055 Send a message via MSN to ramesh055 Send a message via Yahoo to ramesh055
Default same data string for different data providers

sir,

can i have the same connection string for more than one data providers in asp.net.
or is it possible to have that kind of string by some means...?
 
Old October 16th, 2006, 05:59 AM
Friend of Wrox
 
Join Date: May 2006
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OleDb Connection string depends on DataProvider, so exactly same connection string can't be used.
But u can define a function in which u'll pass dataprovider, dataSource etc deferent value and then concatenate to get connection string.

Bijgupt





Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Shaping Connection String mat41 Classic ASP Professional 4 August 6th, 2008 02:19 AM
String or binary data would be truncated spiffyaldo2 ASP.NET 1.0 and 1.1 Basics 1 March 21st, 2006 08:49 AM
Setting GridView data to string hawkfb63 ASP.NET 2.0 Basics 1 January 31st, 2006 02:00 PM
Output loop data to a string iloveoatmeal Classic ASP Basics 2 December 22nd, 2005 08:28 PM
String or binary data would be truncated. Cinderella Classic ASP Basics 3 June 5th, 2004 04:36 AM





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