private void ShowInfo(int typeId) { rr2.BLL.typeInfo bll = new rr2.BLL.typeInfo(); rr2.Model.typeInfo model = bll.GetModel(typeId); this.lbltypeId.Text = model.typeId.ToString(); this.lbltypeName.Text = model.typeName; this.lblext1.Text = model.ext1; this.lblext2.Text = model.ext2; this.lblext3.Text = model.ext3; }
protected void Page_Load(object sender, EventArgs e) { string typeid = Request.QueryString["typeId"]; if (!IsPostBack) { mdltype = blltype.GetModel(int.Parse(typeid)); TBtype.Text = mdltype.typeName; } }