Home All Groups Group Topic Archive Search About

Delete a DataSource in vs.net

Author
9 Jun 2006 5:53 PM
george@twolions.com
How can I delete a datasource once it has been created in vs.net 2005?

--GH

Author
9 Jun 2006 8:58 PM
zacks
geo***@twolions.com wrote:
> How can I delete a datasource once it has been created in vs.net 2005?
>
> --GH

I assume you mean an ODBC Data Source? If so, all you need to do is
remove the registry keys for it. The IDBC Database is stored in the
Registry. there is one entry in SOFTWARE\ODBC\ODBC.INI\ODBC Data
Sources for each DSN, and the properties are in a key for that DSN at
SOFTWARE\ODBC\ODBC.INI. For User DSN set to Registry.CurrentUser. For
System DSN, set to Registry.LocalMachine.
Author
10 Jun 2006 3:24 AM
george@twolions.com
No, a SQLDataSource from the toolbox.  I created one on an ASP.Net web
form.  It worked, but now I want to delete it and I can't see any way
to do it.




za***@construction-imaging.com wrote:
Show quoteHide quote
> geo***@twolions.com wrote:
> > How can I delete a datasource once it has been created in vs.net 2005?
> >
> > --GH
>
> I assume you mean an ODBC Data Source? If so, all you need to do is
> remove the registry keys for it. The IDBC Database is stored in the
> Registry. there is one entry in SOFTWARE\ODBC\ODBC.INI\ODBC Data
> Sources for each DSN, and the properties are in a key for that DSN at
> SOFTWARE\ODBC\ODBC.INI. For User DSN set to Registry.CurrentUser. For
> System DSN, set to Registry.LocalMachine.