Creates an instance of DbNeData by deriving the connection string from the configuration file using the name DbNetData

Namespace:  DbNetLink.Data
Assembly:  DbNetLink.DbNetData (in DbNetLink.DbNetData.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public DbNetData()
Visual Basic (Declaration)
Public Sub New
Visual C++
public:
DbNetData()

Remarks

The connection string is derived on the following basis:

  • IAn entry in the web.config connection strings collection called DbNetData is looked for

Examples

CopyC#
DbNetData Db = new DbNetData();

See Also