Example #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            SqlItemCollection col = new SqlItemCollection();

            GridView1.DataSource = col.Items;
            GridView1.DataBind();
        }
Example #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     SqlItemCollection col = new SqlItemCollection();
     GridView1.DataSource = col.Items;
     GridView1.DataBind();
 }