A
Andrew Baker
Coming from VB, I find the changes needed to manipulate a datagrid are much
more taxing than previously.
Is there a good tutorial for things like:
Setting the column widths
making the grid uneditable
making the whole row highlight when selected
There are a number of posts but as I am trying to learn on my own, they are
a bit confusing.
For example,. I have found the following code to remove the updating row at
the end, but dont understand why I need a currencyManager to do this. (I
know it is C# code)
CurrencyManager cm = (CurrencyManager)dataGrid.BoundContext[
dataGrid.DataSource,
dataGrid.DataMember];
DataView theView = (DataView)cm.List;
theView.AllowNew = false;
Any help appreciated.
Thanks
Andrew Baker.
more taxing than previously.
Is there a good tutorial for things like:
Setting the column widths
making the grid uneditable
making the whole row highlight when selected
There are a number of posts but as I am trying to learn on my own, they are
a bit confusing.
For example,. I have found the following code to remove the updating row at
the end, but dont understand why I need a currencyManager to do this. (I
know it is C# code)
CurrencyManager cm = (CurrencyManager)dataGrid.BoundContext[
dataGrid.DataSource,
dataGrid.DataMember];
DataView theView = (DataView)cm.List;
theView.AllowNew = false;
Any help appreciated.
Thanks
Andrew Baker.