private void FillAlbumImages(int AlbumCode) { try { tbl_PhotoGalleryMasterProp Objtbl_PhotoGalleryMasterProp = new tbl_PhotoGalleryMasterProp(); Objtbl_PhotoGalleryMasterProp.SearchBy = "AlbumCode"; Objtbl_PhotoGalleryMasterProp.SearchVal = Convert.ToString(AlbumCode); tbl_PhotoGalleryMasterBAL Objtbl_PhotoGalleryMasterBAL = new tbl_PhotoGalleryMasterBAL(); DataSet dsData = Objtbl_PhotoGalleryMasterBAL.Search_Data(Objtbl_PhotoGalleryMasterProp); rptImageThumbnail.DataSource = dsData.Tables[0]; rptImageThumbnail.DataBind(); } catch { } }