예제 #1
0
        protected void GetSaleLease_Residential()
        {
            Property1.MLSDataWebServiceSoapClient ml = new Property1.MLSDataWebServiceSoapClient();
            DataTable dt = new DataTable();

            dt = ml.GetSaleLeaseResidential();
            ddlType.DataSource     = dt;
            ddlType.DataTextField  = "SaleLease";
            ddlType.DataValueField = "SaleLease";
            ddlType.DataBind();
            ddlType.Items.Insert(0, new ListItem("Any", "0"));
        }