在wpf中绑定checkbox
private void InitSourceType() { string sQuery = string.Format("SELECT sourtype,seqnumbr FROM CRSOURTYPE ORDER BY seqnumbr"); DataSet dset = gs.GetDataBySql(sQuery);