C# 클래스 HYPDM.WinUI.WorkFlow.CommonFuns

파일 보기 프로젝트 열기: huayancreate/HYPDM 1 사용 예제들

공개 메소드들

메소드 설명
SetComboBoxValue ( System cobbox, string dataType, int selectedIndex ) : void

给combox赋值

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

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

메소드 상세

SetComboBoxValue() 공개 정적인 메소드

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

getDataTableBySql() 공개 정적인 메소드

给定列名,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
리턴 System.Data.DataTable