示例#1
0
    public void BindData()
    {
        string s = "select Qry_Text,Qry_Sol from tblqrydetails where Qry_Sol is not null and Qry_sol not like ''";

        ds = b.Ex_DRL(s);
        DataGrid2.DataSource = ds;
        DataGrid2.DataBind();
    }
示例#2
0
 public void BindData(string s)
 {
     try
     {
         ds = b.Ex_DRL(s);
         if (ds != null)
         {
             GridView1.DataSource = ds;
             GridView1.DataBind();
         }
         else
         {
             Label1.Text = " No Records";
         }
     }
     catch (Exception ex)
     {
         throw new ArgumentException(ex.Message);
     }
 }
示例#3
0
 protected void LinkButton1_Click(object sender, EventArgs e)
 {
     ds = b.Ex_DRL(s);
     GridView1.DataSource = ds;
     GridView1.DataBind();
 }