connection class : connection(string) fitter

Description

Returns a new instance of connection class.

Syntax

new connection(string connectionString)

Arguments

ClassNameDescription
stringconnectionStringConnection string.

Return value

ClassDescription
connectionA new instance of connection class.

Sample code

1:

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

Notes

About the detail of the connection string, we do not describe here.

Links for reference

Copyright © Cooker All rights reserved.