Exemple #1
0
        public void HienThiUserLenDropDow()
        {
            string    UserID = Session["UserID"].ToString();
            DataTable dt     = dal.QryUserLenDropBoxShare(congty, UserID);

            if (dt.Rows.Count > 0)
            {
                DropDownUserName.DataSource     = dt;
                DropDownUserName.DataValueField = "userid";
                DropDownUserName.DataTextField  = "USERNAME";
                DropDownUserName.DataBind();
            }
        }
Exemple #2
0
        public void HienThiUserShareLenDropDow()
        {
            string    UserID = Session["UserID"].ToString();
            string    CongTy = "LTY";
            DataTable dt     = dalShare.LayDanhSachUserLenDropBoxShare(CongTy, UserID);

            if (dt.Rows.Count > 0)
            {
                DropDownUserName.DataSource     = dt;
                DropDownUserName.DataValueField = "userid";
                DropDownUserName.DataTextField  = "USERNAME";
                DropDownUserName.DataBind();
            }
        }