I saw this question and immediately thought, “You can’t! An Enum is an Integer that has been restricted to the values it can accept.”
And I was basically right. But, I forgot that even with an integer you can do the following in CSharp:
I saw this question and immediately thought, “You can’t! An Enum is an Integer that has been restricted to the values it can accept.”
And I was basically right. But, I forgot that even with an integer you can do the following in CSharp:
I just saw a question about this yesterday and realized that while I know how to do this, not everyone does. So, here we go…
Here’s the problem. You want to be able to edit all the rows in the gridview at once instead of having to switch to edit mode and save one row at the time. Normally, you’d want to do this when only a couple of items need to be changed per row and not the entire row’s worth of data.
Photo credit: tico_24 via VisualHunt.com / CC BY