我想知道如何從ListBox中的URL和顯示加載多個數據..加載多個內容來自[]數組中的列表框在WP8
我的班級組織..
public class Organization : BaseModel
{
public int id {get;set;}
public string address {get;set;}
public string city { get; set; }
public string contact1 {get; set;}
public string contact2 {get; set;}
public string country {get; set;}
public string description {get; set;}
public Event[] events {get; set;}//Need to load the Event data in listbox
}
我的事件[]類..
public class Events: BaseModel
{
public int id { get; set; }
public DateTime event_date { get; set; }
public string event_day { get; set; }
public string event_location { get; set; }
public DateTime event_time { get; set; }
}
我需要加載Event[]
數據到列表框中的任何一個可以幫助我解決這個問題..
在此先感謝..
爲什麼不使用列表或數組中的集合? –