protected void BindData() { FImg_Lib_Type filt = new FImg_Lib_Type(); RP_imgtype.DataSource = filt.GetDAL().GetList(""); RP_imgtype.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { id = Request.QueryString["tid"]; HF_typeid.Value = id; if (id != null && id != "") { FImg_Lib_Type bll = new FImg_Lib_Type(); LB_imgType.Text = bll.GetDAL().GetModel(Convert.ToInt32(id)).La_NAME;; BindData(id); } }