C# Class ReadDb, lang

Afficher le fichier Open project: suntong/lang Class Usage Examples

Méthodes publiques

Méthode Description
GetFirst ( string _SqlCommand, string _ConnectionStr ) : Object[]

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

Main ( ) : void

Private Methods

Méthode 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 méthode

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 ///
Résultat Object[]

Main() public static méthode

public static Main ( ) : void
Résultat void