void GetImages(int DreamHouseId) { Property1.MLSDataWebServiceSoapClient mlsClient = new Property1.MLSDataWebServiceSoapClient(); //DataTable dt = mlsClient.GetImageByMLSID(Convert.ToString(Request.QueryString["MLSID"])); DataTable dt = clsobj.GetDreamHouseForSlider(DreamHouseId); if (dt.Rows.Count > 0) { rptGallary.DataSource = dt; rptGallary.DataBind(); } mlsClient = null; }
void GetImages(int DreamHouseId) { Property1.MLSDataWebServiceSoapClient mlsClient = new Property1.MLSDataWebServiceSoapClient(); //DataTable dt = mlsClient.GetImageByMLSID(Convert.ToString(Request.QueryString["MLSID"])); DataTable dt = clsobj.GetDreamHouseForSlider(DreamHouseId); if (dt.Rows.Count > 0) { rptImages.DataSource = dt; rptImages.DataBind(); sliderDiv.Visible = true; sliderImageEmpty.Visible = false; } else { sliderDiv.Visible = false; sliderImageEmpty.Visible = true; } mlsClient = null; }