Пример #1
0
        /// <summary>
        /// code for kyc updation
        /// </summary>

        void updateKYC()
        {
            try
            {
                kyc.RegId = Convert.ToInt32(Session["Id"]);
                kyc.Pan   = txtPAN.Value;
                string x = txtAadhar1.Value;
                string y = txtAadhar2.Value;
                string z = txtAadhar3.Value;
                string a = x + y + z;
                kyc.Aadhaar = Convert.ToInt64(a);
                InsertionLayer.userKYCdetails(kyc);
                clearselection();
                lblmsg.Text = "Your KYC Has Been Updated Successfully";
            }
            catch (Exception ex)
            {
                lblmsg.Text      = ex.Message;
                lblmsg.ForeColor = System.Drawing.Color.Red;
            }
        }