-
1 Attachment(s)
DataGridView issue
I'm using Chris Holmes' excellent blog on WCF as a tutorial. The blog can be found at http://www.chrisholmesonline.com/200...plex-services/. Unfortunately, I attempted to change the DataGridView and now I have an unwanted column that I just cannot figure out how to delete. The name of the column is IsNew and it has a checkbox. When I go into the Designer View for the form and select Edit columns, this column does not appear in the list. I just don't know where this column is being created and how to delete it.
I've attached a screenshot of the the column
Any assistance would be greatly appreciated.
Thanx
Update: After a lot of experimentation, I came across the following solution...
Code:
_dataGridView.AutoGenerateColumns = false;
It resolves the problem since it apparently hides the autogenerated column which leads me to my next question. What purpose do the autogenerated columns such as IsNew serve?