Esempio n. 1
0
        private void HienThiDanhSach()
        {
            string manguoidung = Session["user"].ToString();
            string macongty    = "LTY";
            string ngonngu     = Session["languege"].ToString();

            if (ngonngu == "lbl_VN")
            {
                GridView1.DataSource = dal.DanhSachVanBanDenKhongDuocDuyetTheoNguoiDuyet(manguoidung, macongty);
                GridView1.DataBind();
            }
            else if (ngonngu == "lbl_TW")
            {
                GridView1.DataSource = dal.DanhSachVanBanDenKhongDuocDuyetTheoNguoiDuyetTW(manguoidung, macongty);
                GridView1.DataBind();
            }
            else if (ngonngu == "lbl_EN")
            {
                GridView1.DataSource = dal.DanhSachVanBanDenKhongDuocDuyetTheoNguoiDuyet(manguoidung, macongty);
                GridView1.DataBind();
            }
        }