예제 #1
0
 protected void fillGrid()
 {
     Picture[] pictures = new Picture[6];
     pictures = PictureFactory.GetImages(int.Parse(Request.QueryString["ID"]), ((Logements)Master).CnnStr);
     PicturesGridView.DataSource = pictures;
     PicturesGridView.DataBind();
 }
예제 #2
0
 protected void OnPaging(object sender, GridViewPageEventArgs e)
 {
     PicturesGridView.PageIndex = e.NewPageIndex;
     PicturesGridView.DataBind();
 }