471,305 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,305 software developers and data experts.

Can we use the exist connection string when create dataset

ad
I use vs2005. I wnat to create a dataset in design time.
I have a connection string in web.config.
At the first step of DataAdapter wizard, it prompt me to enter a new
connection, At the last step, it prompt me to store the conneciton string in
application config file.

I can find how to use the exist connection string in web.config.

How can I use the exist connection string when create dataset?
Nov 28 '05 #1
1 1400
Hi,

Not sure what your problem is, but if you want to use any setting from the
config file you can do so using System.Configuration.ConfigurationSettings
class , take a look at the AppSettings property.
Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"ad" <fl****@wfes.tcc.edu.tw> wrote in message
news:u2**************@TK2MSFTNGP12.phx.gbl...
I use vs2005. I wnat to create a dataset in design time.
I have a connection string in web.config.
At the first step of DataAdapter wizard, it prompt me to enter a new
connection, At the last step, it prompt me to store the conneciton string
in application config file.

I can find how to use the exist connection string in web.config.

How can I use the exist connection string when create dataset?

Nov 28 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by george r smith | last post: by
4 posts views Thread by Mike | last post: by
3 posts views Thread by Olivogt | last post: by
3 posts views Thread by John | last post: by
3 posts views Thread by sammyloo | last post: by
20 posts views Thread by fniles | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.