コード例 #1
0
 protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
 {
     try
     {
         string id1 = "";
         id1            = GridView1.Rows[e.RowIndex].Cells[1].Text;
         Session["id1"] = id1;
         SSMSBL.delete_AddedPartner(Session["id1"].ToString());
         bindgrid();
         //Utility.MessageBox("Data Deleted");
     }
     catch (Exception ex)
     {
         Utility.CreateErrorLog(ex.Message.ToString(), "StratigicPartner_Master.aspx", "GridView1_RowDeleting", "", "", HttpContext.Current.Session["NTID"].ToString() + " / " + HttpContext.Current.Session["DomainName"].ToString() + " / " + HttpContext.Current.Session["LawsonID"], ex);
     }
     finally
     { }
 }