Ejemplo n.º 1
0
        private void btnSubmit_Click(object sender, System.EventArgs e)
        {
            int sHold = 0;

            if (chkHold.Checked)
            {
                sHold = 1;
            }
            else
            {
                sHold = 0;
            }

            int iRetValue = objInvoice.SaveAPCommentsGMG(iInvoiceID, txtComments.Text, sDocType, sHold, Convert.ToInt32(Session["UserID"]));

            if (iRetValue > 0)
            {
                Response.Write("<script>self.close();</script>");
            }
        }