자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public void LoadAvailableAreasForHome(int homeid) { AvailableAreas.Clear(); client = new SQSAdminServiceClient(); client.Endpoint.Address = new System.ServiceModel.EndpointAddress(CommonVariables.WcfEndpoint); DataSet ds = client.SQSAdmin_Generic_GetAvailabeAreasByHome(homeid); client.Close(); foreach (DataRow dr in ds.Tables[0].Rows) { CommonResource.Area b = new CommonResource.Area(); b.AreaID = int.Parse(dr["areaid"].ToString()); b.AreaName = dr["areaname"].ToString(); AvailableAreas.Add(b); } }