ApplyFrom.aspx.cs

(开头部分) 6KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ApplyFrom : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["userid"] != null)
        {
            if (!IsPostBack)
            {
                binddr();
            }
        }
        else
        {
            MessageBox.ShowAndRedirect(this.Page, "对不起!请登录。", "Index.aspx");
        }
    }
    public void binddr()
    {
        try
        {
            int userid = Convert.ToInt16(Session["userid"].ToString());
            User myuser = new User();
            myuser.GetModel(userid);
            if (myuser.ISSH==1)
            {
                TextBox_Name.Text = myuser.Name;
                TextBox_Telephone.Text = myuser.Telephone;
                TextBox_Mobile.Text = myuser.Mobile;
                TextBox_Email.Text = myuser.Email;
                TextBox_Company.Text = myuser.Company;
                TextBox_Organize.Text = myuser.Organize;
                DropDownList_Area.SelectedValue= myuser.Area;
                TextBox_CLTime.Value = Convert.ToDateTime( myuser.CLTime.ToString()).ToString("d");
                TextBox_Address.Text = myuser.Address;
                TextBox_Capital.Text = myuser.Capital;
                TextBox_CEO.Text = myuser.CEO;
                TextBox_XYDM.Text = myuser.YyzzUrl;//机构信用代码
                DropDownList_Staff.SelectedValue= myuser.Staff;
                TextBox_Synopsis.Text = myuser.Synopsis;
                TextBox_QQ.Text = myuser.QQ;
                RadioButtonListSEX.SelectedValue = myuser.Sex;
            }
            else
            {
                MessageBox.ShowAndRedirect(this.Page, "对不起!您的账号还没有通过管理员审核,请等待管理员审核,有问题请电话0552-2043488联系!", "Index.aspx");

            }
        }
        catch (Exception ex)
        {
            throw ex;
        }
    }
后面还有 119 行代码,购买后查看完整代码

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

AI 解读 AI

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

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