Database.OpenConnectionString Method

Include Protected Members
Include Inherited Members

Opens a connection to a database using the specified connection string.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member OpenConnectionString(String) Opens a connection to a database using the specified connection string.
Public methodStatic member OpenConnectionString(String, String) Opens a connection to a database using a connection string and the specified provider.

Top

See Also

Reference

Database Class

WebMatrix.Data Namespace