protected void FillGridData() { try { DataTable dt = new DataTable(); dt = clsobj.GetGallary(); grdBannerShow.DataSource = dt; grdBannerShow.DataBind(); } catch (Exception ex) { throw ex; } }
protected void FillGridData() { cls_Property clsobj = new cls_Property(); DataTable dt = new DataTable(); dt = clsobj.GetGallary(); // DataTable dt = mlsClient.GetAllFeatures(); if (dt.Rows.Count > 0) { rptGallary.DataSource = dt; rptGallary.DataBind(); } }