C# Class DBH.Helper.DBHelperEx

DBHelper 扩展类
Inheritance: DBHelper
Mostra file Open project: bluedusk/DBHelper

Public Methods

Method Description
GetDataCol ( string sql ) : ArrayList

返回单列记录

GetDataRow ( string sql ) : ArrayList

返回单行记录

GetString ( string sql ) : string

返回单行单列数据

GetStringList ( string sql ) : ArrayList

返回List List中元素为String数组

Method Details

GetDataCol() public static method

返回单列记录
public static GetDataCol ( string sql ) : ArrayList
sql string
return System.Collections.ArrayList

GetDataRow() public static method

返回单行记录
public static GetDataRow ( string sql ) : ArrayList
sql string
return System.Collections.ArrayList

GetString() public static method

返回单行单列数据
public static GetString ( string sql ) : string
sql string
return string

GetStringList() public static method

返回List List中元素为String数组
public static GetStringList ( string sql ) : ArrayList
sql string
return System.Collections.ArrayList