klogd
Starting Member
23 Posts |
Posted - 15 Oct 2008 : 23:55:33
|
I have added lots of tv shows, but for season 3 of Star Trek The original Series, the following exception is thrown:
(ps: this works for all other shows and seasons)
(pps: it should be possible to order by personal rating as well)
Regards rlend
************** Exception Text ************** System.ArgumentException: Object must be of type Single. at System.Single.CompareTo(Object value) at System.Collections.Comparer.Compare(Object a, Object b) at System.Windows.Forms.DataGridViewRowCollection.RowComparer.CompareObjects(Object value1, Object value2, Int32 rowIndex1, Int32 rowIndex2) at System.Windows.Forms.DataGridViewRowCollection.RowArrayList.CustomQuickSort(Int32 left, Int32 right) at System.Windows.Forms.DataGridViewRowCollection.Sort(IComparer customComparer, Boolean ascending) at System.Windows.Forms.DataGridView.SortInternal(IComparer comparer, DataGridViewColumn dataGridViewColumn, ListSortDirection direction) at System.Windows.Forms.DataGridView.Sort(DataGridViewColumn dataGridViewColumn, ListSortDirection direction) at System.Windows.Forms.DataGridView.OnColumnHeaderMouseClick(DataGridViewCellMouseEventArgs e) at System.Windows.Forms.DataGridView.OnMouseClick(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.DataGridView.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
|
|