Open method

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

Syntax
Visual Basic

Public Overrides Sub Open()
C#

public override void Open();
Remarks

You should explicitly close or dispose of the connection when you are done with it.

See also