PL.PROJECT/System/Business/ADDBusiness.aspx.cs

(开头部分) 11KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using 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 PL.BLL;
using PL.COMMON;
using System.Text;
using PL.Model;
using System.IO;

public partial class System_Business_ADDBusiness : System.Web.UI.Page
{
    BPL_Enterprise BLL = new BPL_Enterprise();
    private string callbackResult = string.Empty, Id = string.Empty;
    protected void Page_Load(object sender, EventArgs e)
    {
        Id = Function.GetString("Id");
        BPL_BusinessClass BLLLevel = new BPL_BusinessClass();
        DataSet ds_2 = BLLLevel.GetList(" 1=1 ");
        for (int i = 0; i < ds_2.Tables[0].Rows.Count; i++)
        {
            this.txt业务类型.Items.Add(new ListItem(ds_2.Tables[0].Rows[i]["类型名称"].ToString(), ds_2.Tables[0].Rows[i]["类型编号"].ToString()));
        }
        if (!IsPostBack)
        {
            this.ShowSend();
        }
        //DateTime cde = Function.StrToDate("2013-12-31");
        //DateTime dce = cde.AddYears(1);
        //Response.Write(dce.ToString());
    }
    void ShowSend()
    {
        MPL_Enterprise model = new MPL_Enterprise();
        if (Id != "" && Function.IsInt(Id))
        {
            model = BLL.GetModel(Function.StrToInt(Id, 0));

            this.txt企业编号.Text = Id;
            this.txt_企业名称.Text = model.企业名称;
            this.txt企业名称.Text = model.企业名称;

            this.txt_客户等级.Text = Public.GetCustomerLevel(model.客户等级.ToString());
           
            this.txt_联系电话.Text = model.联系电话;
            this.txt_传真号码.Text = model.传真号码;

            this.txt_地址.Text = model.地址;
            if (model.网址 != null)
            {
                this.txt_网址.Text = "<a href=\"http://" + model.网址 + "\" target=\"_blank\">" + model.网址 + "</a>";
            }

            string txt_联系人Str = model.联系人;
后面还有 194 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。