Property | Type | Description | |
---|---|---|---|
Cache | |||
ErrorLabel | System.Web.UI.WebControls.Label | ||
ErrorMessage | string | ||
MainDB | string | ||
iConnectionRetries | int | ||
objConn | |||
objIsolationLevel | IsolationLevel | ||
objLastUpdateRow | |||
objSync | object | ||
strLogFlag | string | ||
strPath | string |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
GetConnection ( ) : |
Creates a SqlConnection using the Default Connection String
|
|
GetConnection ( string strName ) : |
Creates a SqlConnection using the given Connection String
|
|
GetConnectionRef ( string strName ) : |
||
GetConnectionString ( ) : string | ||
GetConnectionString ( string strName ) : string | ||
GetDataSetFromSQL ( string strSQL ) : |
||
GetDataTableFromSQL ( string strSQL ) : |
||
GetDataTableFromSQLFile ( string strFileName, string strPrependScript = null, string strCondition = null ) : |
||
GetIntegerFromSQL ( string strSQL ) : int | ||
GetSQLFromFile ( string strFile ) : string | ||
GetSqlDataReaderFromSQL ( string strSQL ) : System.Data.SqlClient.SqlDataReader | ||
GetStringFromSQL ( string strSQL ) : string | ||
ReplaceApostrophes ( string strValue ) : string | ||
ReportError ( string strErrorMsg ) : void | ||
RunSQL ( string strSQL ) : int | ||
SetConnectionRef ( string strName, |
||
StringFormat ( string strFormat ) : string |
Does the same thing as 'string.Format' but duplicating single quotes so it will be accepted in the SQL statement context. Example: O'Hare will become O''Hare
|
|
TryConnect ( ) : bool |
Opens the connection to the database
|
|
TryConnect ( string strName ) : bool |
Opens the connection to the database using the given Connection String
|
|
UpdateAdapter ( |
||
UpdateAdapterRowCheck ( |
||
objSqlAdapter_RowUpdated ( object sender, System.Data.SqlClient.SqlRowUpdatedEventArgs e ) : void | ||
objSqlAdapter_RowUpdating ( object sender, System.Data.SqlClient.SqlRowUpdatingEventArgs e ) : void |
Method | Description | |
---|---|---|
Dispose ( bool bNative = true ) : void |
Method | Description | |
---|---|---|
CommitAndDisconnect ( |
||
RollbackAndReportError ( |
protected Dispose ( bool bNative = true ) : void | ||
bNative | bool | |
return | void |
public GetConnection ( ) : |
||
return |
public GetConnection ( string strName ) : |
||
strName | string | A connection string |
return |
public GetConnectionRef ( string strName ) : |
||
strName | string | |
return |
public static GetConnectionString ( string strName ) : string | ||
strName | string | |
return | string |
public GetDataSetFromSQL ( string strSQL ) : |
||
strSQL | string | |
return |
public GetDataTableFromSQL ( string strSQL ) : |
||
strSQL | string | |
return |
public GetDataTableFromSQLFile ( string strFileName, string strPrependScript = null, string strCondition = null ) : |
||
strFileName | string | |
strPrependScript | string | |
strCondition | string | |
return |
public GetIntegerFromSQL ( string strSQL ) : int | ||
strSQL | string | |
return | int |
public GetSQLFromFile ( string strFile ) : string | ||
strFile | string | |
return | string |
public GetSqlDataReaderFromSQL ( string strSQL ) : System.Data.SqlClient.SqlDataReader | ||
strSQL | string | |
return | System.Data.SqlClient.SqlDataReader |
public GetStringFromSQL ( string strSQL ) : string | ||
strSQL | string | |
return | string |
public static ReplaceApostrophes ( string strValue ) : string | ||
strValue | string | |
return | string |
public ReportError ( string strErrorMsg ) : void | ||
strErrorMsg | string | |
return | void |
public SetConnectionRef ( string strName, |
||
strName | string | |
sc | ||
return | void |
public static StringFormat ( string strFormat ) : string | ||
strFormat | string | String containing zero or more format items. |
return | string |
public TryConnect ( string strName ) : bool | ||
strName | string | A Connection String |
return | bool |
public UpdateAdapter ( |
||
ds | ||
objSqlAdapter | ||
objComm | ||
return | void |
public UpdateAdapterRowCheck ( |
||
ds | ||
objSqlAdapter | ||
objComm | ||
return | void |
public objSqlAdapter_RowUpdated ( object sender, System.Data.SqlClient.SqlRowUpdatedEventArgs e ) : void | ||
sender | object | |
e | System.Data.SqlClient.SqlRowUpdatedEventArgs | |
return | void |
public objSqlAdapter_RowUpdating ( object sender, System.Data.SqlClient.SqlRowUpdatingEventArgs e ) : void | ||
sender | object | |
e | System.Data.SqlClient.SqlRowUpdatingEventArgs | |
return | void |
public Label,System.Web.UI.WebControls ErrorLabel | ||
return | System.Web.UI.WebControls.Label |
public SqlConnection,System.Data.SqlClient objConn | ||
return |
public DataRow,System.Data objLastUpdateRow | ||
return |