示例#1
0
文件: view.aspx.cs 项目: joleye/1.6
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                int id = 0;
                gnum(ref id, "id");
                JmInfo info = new JmInfo();
                JmDal jm = new JmDal();
                info = jm.read(id);

                uname.Text = info.uname;
                sex.Text = info.sex;
                address.Text = info.address;
                age.Text = info.age;
                telphone.Text = info.telphone;
                fax.Text = info.fax;
                company.Text = info.company;
                comaddress.Text = info.comaddress;
                zijin.Text = info.zijin;
                content.Text = info.content;
            }
        }