Creates an instance of DbNeData by deriving the connection string from the configuration file using the name DbNetData
| C# | Visual Basic |
public DbNetData()
Public Sub New
The connection string is derived on the following basis:
- IAn entry in the web.config connection strings collection called DbNetData is looked for
DbNetData Data = new DbNetData();