private void BindGrid(int pageIndex)
        {
            string    kullaniciAdi = Session["KullaniciAdi"].ToString();
            DataRow   dr           = tc.GetPersonelId(kullaniciAdi);
            int       personelId   = Utils.ConvertToInt(dr["PersonelID"].ToString());
            DataTable dt           = tc.GetTalepList(personelId);

            GridView1.PageIndex  = pageIndex;
            GridView1.DataSource = dt;
            GridView1.DataBind();
        }
Exemplo n.º 2
0
        private DataTable GetTalepData()
        {
            var dt = tc.GetTalepList();

            return(dt);
        }