private void BindVideos() { objAlbumSchema.Type = ddlFileType.SelectedValue; ds = objAlbumBL.GetVideos(objAlbumSchema); ViewState["video"] = ds; DG_Photo.DataSource = ds; DG_Photo.DataBind(); }
private void BindPhoto() { objAlbumSchema.Actiontype = "BindPhoto"; objAlbumSchema.PhotoSubAlbumID = Convert.ToInt32(ddlSubalbum.SelectedValue); ds = objAlbumBL.GetAlbumDetails(objAlbumSchema); ViewState["Photo"] = ds; DG_Photo.DataSource = ds; DG_Photo.DataBind(); }