k3CRM/Customer/getOppProductAdd.aspx.cs
(完整代码) 1KBusing System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Model;
namespace k3CRM.Customer
{
public partial class getOppProductAdd : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btn_submit_Click(object sender, EventArgs e)
{
//对t_user实体Info赋值
t_user user = (t_user)Session["user"];
t_OpportunityEntry model = new t_OpportunityEntry();
model.FEntry = 1;
model.FProductItem = Int32.Parse(this.txtFItemID.Value.ToString());
model.FProductItemCode = this.txtFNumber.Value.ToString();
model.FProductItemName = this.txtFName.Value.ToString();
model.FProductItemModel = this.txtFModel.Value.ToString();
model.FProductItemUnit = this.txtFUnit.Value.ToString();
model.FQty = decimal.Parse(this.txtFQty.Value.ToString());
model.FPrice = decimal.Parse(this.txtFPrice.Value.ToString());
model.FAmount = decimal.Parse(this.txtFAmount.Value.ToString());
model.FSessionID = Session.SessionID.ToString();
DAL.dalOpportunity dal = new DAL.dalOpportunity();
dal.insertOpportunityEntryTemp(model);
Response.Write("<script>window.close();</script>");
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
