connection class : Open() method

Description

Opens the connection to the database.

Syntax

instance.Open()

Arguments

None.

Return value

None.

Sample code

1:

connection cnn = new connection("Data Source=c:\somedirectory\somedatabase.sqlite3;Version=3;");

2:

cnn.Open();

3:

... // Access to the database.

4:

cnn.Close();

Notes

None.

Links for reference

None.

Copyright © Cooker All rights reserved.