C# Class ReadDb, lang

Datei anzeigen Open project: suntong/lang Class Usage Examples

Public Methods

Method Description
GetFirst ( string _SqlCommand, string _ConnectionStr ) : Object[]

GetFirst, Get first record of the given SQL command and ConnectionString

Main ( ) : void

Private Methods

Method Description
TestDictionary ( ) : void

TestDictionary, Test C# Dictionary Class

TestOleDB ( ) : void

TestDB, Test C# DB connection

TestSqlAsOleDB ( ) : void

TestSqlAsOleDB, Test C# DB connection as OleDB

TestSqlDB2 ( ) : void

TestSqlDB2, Test C# DB SqlConnection

TestSqlDBL ( ) : void

TestSqlDBL, Test C# Local DB connection

TestSqlDBR ( ) : void

TestSqlDBR, Test C# Remote DB connection

TestSqlGetFirst ( ) : void

TestSqlGetFirst, Test the following C# GetFirst function

TestSqlSP ( ) : void

TestSqlSP, Test C# to get SQL Server stored procedure’s return value and output value

Method Details

GetFirst() public static method

GetFirst, Get first record of the given SQL command and ConnectionString
public static GetFirst ( string _SqlCommand, string _ConnectionStr ) : Object[]
_SqlCommand string /// the Sql Command ///
_ConnectionStr string /// the ConnectionString ///
return Object[]

Main() public static method

public static Main ( ) : void
return void