protected void imgconfirmok_Click(object sender, EventArgs e)
    {
        mdlpopupconfirm.Hide();
        int rst = clsDocument.DeleteDocumentMasterByID(Convert.ToInt32(hdncnfm.Value));

        if (rst > 0)
        {
            lblmsg.Text = "Document Deleted Successfully.";
            SelectDocumentforProcessing();
        }
    }
示例#2
0
    protected void imgconfirmok_Click(object sender, EventArgs e)
    {
        // mdlpopupconfirm.Hide();
        int rst  = clsDocument.DeleteDocumentMasterByID(Convert.ToInt32(hdncnfm.Value));
        int rst1 = clsDocument.InsertDocumentLog(Convert.ToInt32(hdncnfm.Value), Convert.ToInt32(Session["EmployeeId"]), Convert.ToDateTime(System.DateTime.Now), false, true, false, false, false, false, false, false);

        if (rst > 0)
        {
            lblmsg.Text = "Document Deleted Successfully.";
            FillGrid();
        }
    }