Example #1
0
 public void BindData(int FormID)
 {
     Maticsoft.BLL.Poll.Options options = new Maticsoft.BLL.Poll.Options();
     DataTable table = options.GetCountList(FormID).Tables[0];
     this.ViewState["dtcount"] = table;
     DataSet listByForm = new Maticsoft.BLL.Poll.Topics().GetListByForm(FormID);
     this.gridViewTopic.DataSource = listByForm;
     this.gridViewTopic.DataBind();
 }