Пример #1
0
 public DataTable GetFirstColumnList(string chId)
 {
     B_Column column = new B_Column();
     DataTable dt = column.GetFirstColumnByChannelId(int.Parse(chId)).ToTable();
     return dt;
 }
Пример #2
0
 protected void ddlChinel_OnSelectedIndexChanged(object sender, EventArgs e)
 {
     B_Column bll = new B_Column();
     DataView dv = bll.GetFirstColumnByChannelId(int.Parse(ddlChinel.SelectedValue));
     lbColumn.DataSource = dv;
     lbColumn.DataTextField = "ColName";
     lbColumn.DataValueField = "ColId";
     lbColumn.DataBind();
 }