Example #1
0
        private void RefreshGridView()
        {
            Faq f = new Faq();

            fList = f.GetAllFaq();

            GridView1.Visible    = true;
            GridView1.DataSource = fList;
            GridView1.DataBind();
        }
Example #2
0
        private void RefreshGridView()
        {
            Faq f = new Faq();

            fList = f.GetAllFaq();

            // using gridview to bind to the list of employee objects
            GvFaq.Visible    = true;
            GvFaq.DataSource = fList;
            GvFaq.DataBind();
        }