Delete a DataSource in vs.net

  • Thread starter Thread starter george
  • Start date Start date
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.
 
Back
Top