huifang/huifangmod.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
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 System.Xml.Linq;
using dao;
public partial class huifang_huifangmod : System.Web.UI.Page
{
string id = "";
protected void Page_Load(object sender, EventArgs e)
{
id = Request.QueryString["id"].ToString();
if (!IsPostBack)
{
string sql = "select * from huifang where hfid='" + id + "'";
DataTable dt = DBHelper.GetDataSet(sql);
if (dt.Rows.Count > 0)
{
this.kh.Text =dt.Rows[0]["kh"].ToString();
this.hfrq.Text =dt.Rows[0]["hfrq"].ToString();
this.hfry.Text =dt.Rows[0]["hfry"].ToString();
this.hflx.Text =dt.Rows[0]["hflx"].ToString();
this.hfnr.Text =dt.Rows[0]["hfnr"].ToString();
this.czyh.Text = dt.Rows[0]["czyh"].ToString();
}
}
}
protected void Button1_Click(object sender, EventArgs e)
{
string kh=this.kh.Text;//客户
string hfrq=this.hfrq.Text;//回访日期
string hfry=this.hfry.Text;//回访人员
string hflx=this.hflx.Text;//回访类型
string hfnr=this.hfnr.Text;//回访内容
if(kh.Length==0){
MessageBox.Show(this.Page,"客户不能为空");
return ;
}
if(hfrq.Length==0){
MessageBox.Show(this.Page,"回访日期不能为空");
return ;
}
if(hfry.Length==0){
MessageBox.Show(this.Page,"回访人员不能为空");
return ;
}
后面还有 27 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
