C2C.Web/webadmin/payLog/add.aspx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace C2C.Web.webadmin.payLog
{
public partial class add : BasePage
{
BLL.payLog bllPayLog = new BLL.payLog();
BLL.pubuser bllUser = new BLL.pubuser();
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnSave_Click(object sender, EventArgs e)
{
try
{
Model.payLog modelPayLog = new Model.payLog(); ;
modelPayLog.alipay = this.txtalipay.Text;
modelPayLog.createTime = DateTime.Now;
modelPayLog.money = decimal.Parse(this.txtmoney.Text);
modelPayLog.payTime = DateTime.Parse(this.txtpayTime.Text);
modelPayLog.payuser = this.txtPayuser.Text;
modelPayLog.types = this.ddlType.SelectedValue;
bllPayLog.Add(modelPayLog);
Common.MessageBox.ShowAndRefresh(this, "添加成功");
}
catch (Exception ex)
{
Common.MessageBox.Show(this, "添加失败");
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
