C# Class HYPDM.WinUI.WorkFlow.CommonFuns

Show file Open project: huayancreate/HYPDM Class Usage Examples

Public Methods

Method Description
SetComboBoxValue ( System cobbox, string dataType, int selectedIndex ) : void

给combox赋值

getDataTableBySql ( String fields, string where, string tableName ) : DataTable

给定列名,where条件,及表明返回datatable

Method Details

SetComboBoxValue() public static method

给combox赋值
public static SetComboBoxValue ( System cobbox, string dataType, int selectedIndex ) : void
cobbox System
dataType string
selectedIndex int
return void

getDataTableBySql() public static method

给定列名,where条件,及表明返回datatable
public static getDataTableBySql ( String fields, string where, string tableName ) : DataTable
fields String 需要查询出来的字段,sample:fields1,field2,field3
where string 查询条件,sample: where 1=1 and a1='jjj' order by CreateDate asc
tableName string 查询的表名,sample:DOC_FILE_LIST
return System.Data.DataTable