protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { string strid = Request.QueryString["p"]; NCPEP.Dal.LiceTranDal dal = new LiceTranDal(); DataTable dt = dal.GetComnoData(int.Parse(strid)); this.txtFK_UploadTypeIndicatorId.DataSource = dt; this.txtFK_UploadTypeIndicatorId.DataTextField = "TypeIndicatorName"; this.txtFK_UploadTypeIndicatorId.DataValueField = "id"; this.txtFK_UploadTypeIndicatorId.DataBind(); } }
public LiceTranBll() { dal = new LiceTranDal(); }