protected void btnSubmit_Click(object sender, EventArgs e) { try { string fullname = txtFullName.Text; string mobileno = txtContactNumber.Text; decimal amount = Convert.ToDecimal(txtAmount.Text); string requestdate = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); string requesttype = "Fund Transfer"; string requStatus = "Waiting"; bool request = false; Int32 userid = Convert.ToInt32(Session["userid"]); long useridentifyno = GetUserIdentifyNo(UserId); string systemip = GetIPAddress(); int result = 0; result = local_wallet.AddTransferRequest(userid, amount, requestdate, requesttype, requStatus, request, useridentifyno, systemip); if (result != 0) { BindRequstFundTransfer(); txtFullName.Text = ""; txtAmount.Text = ""; txtContactNumber.Text = ""; mpe.Show(); lblpopup.Text = "Request send successfully,<br/> it will be take 24 houres."; //lblMessage.ForeColor = Color.Green; //lblMessage.Text = "Request send successfully, it will be take 24 houres."; } } catch (Exception ex) { lblMessage.ForeColor = Color.Red; lblMessage.Text = ex.Message; } }