Typed DataSets in VS2005
Hi all,
This post is sort of tangentially related to my earlier posts on
configuration files for DLLs.
Does anyone know how to create typed DataSets using VS2005's new DataSet
designer, but with the ability to configure the connection string via a
config file? The designer seems to hard-code the connection string into the
dataset itself, which just can't be right.
The typed DataSets created by VS2005 comes with a dll.config file that looks
as though it's trying to do something like that, and which is put with the
executable at compile time, but altering the connection string in there
doesn't appear to have any effect. We've seen lots of people asking this
question, but haven't found anyone answering it yet.
Thanks in advance
Peter
.
Relevant Pages
- Re: Typed DataSets in VS2005
... SELECT mailbox, storage_group, server FROM atablename WHERE (mailbox = ... Why it need to have a connection string hradcoded to create ... Does anyone know how to create typed DataSets using VS2005's new ... DataSet designer, but with the ability to configure the connection ... (microsoft.public.dotnet.languages.csharp) - RE: Misunderstanding ConnectionStrings?
... I don't like this solution so if someone knows how to specify a realisticly named Connection String in the Table Adapter, ... can try to remove dllname.config file from the bin folder - I think then ASP.Net will use web.config... ... The designer has created an App.config file with a connection string in it for the designer to use. ... When I deploy this project, my Typed DataSets are still using the data in the app.config, and not the one in the web.config. ... (microsoft.public.dotnet.framework.aspnet) - Re: Typed DataSets in VS2005
... SELECT mailbox, storage_group, server FROM atablename WHERE (mailbox = ... Why it need to have a connection string hradcoded to create ... string so that it will read it from a config file (obviously you have ... Does anyone know how to create typed DataSets using VS2005's new ... (microsoft.public.dotnet.languages.csharp) - Re: Typed DataSets in VS2005
... (scroll down to "Connection string pangs") ... string so that it will read it from a config file (obviously you have ... then I rather advice you to have your own data access layer, ... Does anyone know how to create typed DataSets using VS2005's new ... (microsoft.public.dotnet.languages.csharp) - Re: Typed DataSets in VS2005
... (scroll down to "Connection string pangs") ... layer - which we code ourselves and which uses many typed datasets. ... string so that it will read it from a config file (obviously you have ... (microsoft.public.dotnet.languages.csharp) |
|