Versaiteis
Member
- Joined
- Mar 12, 2010
- Messages
- 14
- Programming Experience
- 1-3
As I would have expected this to be as easy as
I find that this will not work. My datagridview control is bound to a dataset as its datasource. If I were to use the code above, the most I would accomplish is moving the column at the index to the end position in the datagridview.
I need to be able to select what columns I wish to display in order to print only the information the user desires.
VB.NET:
DataGridView.Columns.RemoveAt(index)
I find that this will not work. My datagridview control is bound to a dataset as its datasource. If I were to use the code above, the most I would accomplish is moving the column at the index to the end position in the datagridview.
I need to be able to select what columns I wish to display in order to print only the information the user desires.