Delete a DataSource in vs.net

  • Thread starter Thread starter george
  • Start date Start date
G

george

How can I delete a datasource once it has been created in vs.net 2005?

--GH
 
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.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top