Web.Config Editor

This sample is an advanced use of the ProvideDataView event. It demonstrates that it is possible to edit any XML-file using TEdit.NET, even the web.config file of your ASP.NET web sites.
Warning: take care when deciding to make an edit-page available for a web.config file on a production server. Also note that the ADO.NET Dataset object strips the web.config file from any comments it may contain. All in all, this sample is best treated as a proof-of-concept only.

Table: Search:  

 keyvalue
EditNorthwindConnectionStringInitial Catalog=Northwind;Data Source=localhost;Integrated Security=SSPI;
EditOracleProvider=OraOLEDB.Oracle;User ID=scott;Password=tiger;OSAuthent=0;Data Source=testdb;OLEDB.NET=True;
EditOracleMSProvider=msdaora;User ID=scott;Password=tiger;OSAuthent=0;Data Source=testdb;
EditOracleSSPIProvider=OraOLEDB.Oracle;OSAuthent=1;Data Source=testdb;OLEDB.NET=True;
EditTestDBConnectionStringInitial Catalog=Test DB;Data Source=localhost;Integrated Security=SSPI;
Page: 1