Exemple #1
0
 public void grdbind()
 {
     try
     {
         int a = Convert.ToInt32(Session["company_id"]);
         GridView1.DataSource = context.sp_SelectBranch(a);
         GridView1.DataBind();
     }
     catch (Exception ex)
     {
         ErrorLog.saveerror(ex);
     }
 }