예제 #1
0
        public void BindData()
        {
            DataTable dt = blobj.Displaydetails();

            GridView2.DataSource = dt;
            GridView2.DataBind();
        }
예제 #2
0
        public void BindData()
        {
            SqlDataReader dr = blobj.Displaydetails();

            GridView2.DataSource = dr;
            GridView2.DataBind();
            GridView2.Visible = true;
            dr.Close();
        }