public void GetImages() { Property1.MLSDataWebServiceSoapClient mlsClient = new Property1.MLSDataWebServiceSoapClient(); DataTable dt = clsobj.GetDreamHouseList_Home("Family_home"); rptImages.DataSource = dt; rptImages.DataBind(); mlsClient = null; }