[Solved] Create table using two dimensional array

Have you tried looking at ListViewItem and then populating a list view? If not then you can easily use a list of arrays, or even populate it in a foreach loop like bellow? foreach( var v in Muvees ) {ListViewItem movieToAdd = new ListViewItem(); movieToAdd.Text = v.movieid; movieToAdd.SubItems.Add(v.rating); movieToAdd.SubItems.Add(v.movieName); listOfMovies.Items.Add( movieToAdd ).BackColor = Color.Green;} //add … Read more

[Solved] Creating abstract ViewModels wpf

Ok, I found the glitch. Int the MainViewModel class, the TestViewModel property should be changed from: public IViewModel TestViewModel { get { return m_testViewModel; } set { m_testViewModel = value; OnPropertyChanged(“NewViewModel”); } } To: public IViewModel TestViewModel { get { return m_testViewModel; } set { m_testViewModel = value; OnPropertyChanged(“TestViewModel”); } } solved Creating abstract ViewModels … Read more