protected void btnDelete_Click(object sender, EventArgs e)
        {
            bool msg = Claim_DAL.Delete(Convert.ToInt32(ViewState["Claim_id"]));


            if (msg == true)
            {
                Label1.Text = "Claim Has Been Deleted Successfully!";
            }
            else
            {
                Label1.Text = "Error -> " + msg;
            }


            BindData();

            udp.Update();
        }
Esempio n. 2
0
 public bool Delete(int id)
 {
     return(Claim_DAL.Delete(id));
 }