public ViewRisks() { InitializeComponent(); DatabaseMethods _data = new DatabaseMethods(); var items = _data.GetAllRisks(); tblRisks.ItemsSource = items; }
public ViewRisks() { InitializeComponent(); DatabaseMethods _data = new DatabaseMethods(); var items = _data.GetAllRisks(); tblRisks.ItemsSource = items; }