Exemplo n.º 1
0
 private void BasicgrdList(string strTable, string condition)
 {
     dt = wnDm.dtBasicCd(strTable, condition);
     for (int i = 0; i < dt.Rows.Count; i++)
     {
         grdType.Rows.Add();
         grdType.Rows[i].Cells["code"].Value    = dt.Rows[i]["코드"].ToString();
         grdType.Rows[i].Cells["name"].Value    = dt.Rows[i]["명칭"].ToString();
         grdType.Rows[i].Cells["comment"].Value = dt.Rows[i]["비고"].ToString();
     }
 }