Victor Charles
asked on
Help with sorting unbound DataGridView
Hi,
How do you sort an unbound Grid? I tried using the code below but received the following error:
Data-bound DataGridView control can only be sorted on data-bound columns.
Parameter name: dataGridViewColumn
Me.DataGridView3.DataSourc e = dtsetlinkBEL.Tables(0).Def aultView.T oTable(Tru e, New String() {"NSC"})
Me.DataGridView3.Sort(Data GridView3. Columns.It em(0), System.ComponentModel.List SortDirect ion.Ascend ing)
Thanks,
Victor
How do you sort an unbound Grid? I tried using the code below but received the following error:
Data-bound DataGridView control can only be sorted on data-bound columns.
Parameter name: dataGridViewColumn
Me.DataGridView3.DataSourc
Me.DataGridView3.Sort(Data
Thanks,
Victor
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
V.