当前位置: 首页>>代码示例>>C#>>正文


C# ClsBAL.InsertDepositUpdateRequest方法代码示例

本文整理汇总了C#中BAL.ClsBAL.InsertDepositUpdateRequest方法的典型用法代码示例。如果您正苦于以下问题:C# ClsBAL.InsertDepositUpdateRequest方法的具体用法?C# ClsBAL.InsertDepositUpdateRequest怎么用?C# ClsBAL.InsertDepositUpdateRequest使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在BAL.ClsBAL的用法示例。


在下文中一共展示了ClsBAL.InsertDepositUpdateRequest方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: updatebalance

    protected void updatebalance()
    {
        DataSet ds = new DataSet();
          ds =  objManabusBAL.GetAgentByUserId(Convert.ToInt32(Session["UserID"].ToString()));
          if (ds != null)
          {
              if (ds.Tables.Count > 0)
              {
                  if (ds.Tables[0].Rows.Count > 0)
                  {
                      ClsBAL objBal = new ClsBAL();
                          DateTime? dtime = null;

                      //    string msg = objBal.AddAgentDeposit(Convert.ToInt32(Session["UserID"].ToString())
                      //, Convert.ToDouble(Session["RechargeAmount"].ToString()), "", Convert.ToInt32(Session["UserID"].ToString())
                      //, "Payment Gateway", Session["Order_Id"].ToString().ToString(), "");

                      //    lblMsg.InnerText = msg;
                          lblMsg.InnerText = objBal.InsertDepositUpdateRequest(Convert.ToInt32(Session["UserID"].ToString()), Convert.ToDouble(Session["RechargeAmount"].ToString()),
                              Convert.ToString(""), Session["Order_Id"].ToString(), "Payment Gateway",
                            "", "", System.DateTime.Now,
                             "", Convert.ToInt32(Session["UserID"].ToString()), "Deposited");
                          if (lblMsg.InnerText.ToString() == "Your request has been submitted successfully. Our Team will get back to you.")
                          {
                              lblmessage.Text = "your Amount added Successfully";

                              objBal.Upstatus(Convert.ToInt32(Session["UserID"].ToString()), Convert.ToDouble((Session["RechargeAmount"].ToString())));
                          }

                  }
              }
          }
    }
开发者ID:srisai339,项目名称:LoveJourney_Working,代码行数:33,代码来源:AddBalance.aspx.cs

示例2: btnDepositUpdate_Click

 protected void btnDepositUpdate_Click(object sender, EventArgs e)
 {
     try
     {
         if (Session["UserID"] != null)
         {
             ClsBAL obj = new ClsBAL();
             DateTime? dtime = null;
             if (txtChequeIssueDate.Text != "")
             {
                 dtime = Convert.ToDateTime(txtChequeIssueDate.Text.ToString());
             }
             lblMsg.InnerText = obj.InsertDepositUpdateRequest(Convert.ToInt32(Session["UserID"].ToString()), Convert.ToDouble(txtDepositAmount.Text.Trim().ToString()),
                 Convert.ToString(txtMobileNumber.Text.ToString()), txtTransactionId.Text.ToString(), rbtnDepositType.SelectedItem.Text.ToString(),
                 ddlDepositedBank.SelectedItem.Text.ToString(), txtChequeDrawnBank.Text.ToString(), dtime,
                 txtChequeNumber.Text.ToString(), Convert.ToInt32(Session["UserID"].ToString()),"Requested");
             if (lblMsg.InnerText.ToString() == "Your request has been submitted successfully. Our Team will get back to you.")
             {
                 txtDepositAmount.Text = txtMobileNumber.Text = txtTransactionId.Text = txtChequeNumber.Text = txtChequeIssueDate.Text = txtChequeDrawnBank.Text = "";
                 ddlDepositedBank.SelectedIndex = 0;
             }
         }
     }
     catch (Exception ex)
     {
         lblMsg.InnerHtml = ex.Message;
         throw;
     }
 }
开发者ID:srisai339,项目名称:LoveJourney_Working,代码行数:29,代码来源:Deposits.aspx.cs


注:本文中的BAL.ClsBAL.InsertDepositUpdateRequest方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。