How to delete the * row in Datagrid

  • Thread starter Thread starter zw
  • Start date Start date
Z

zw

Hi

When displaying the grid with rows, I have an extra empty row with *
on the
leftmost grid.

How do I remove it from display or should I remove it from the
dataset ?

Any help is appreciated.
 
Here is one way you can turn it off if you are using a DataTable as
the DataSource of your DataGrid.

CurrencyManager cm =
dataGrid1.BindingContext[dataGrid1.DataSource, dataGrid1.DataMember]
as CurrencyManager;
DataView dv = cm.List as DataView;
dv.AllowNew = false;

==================
Clay Burch
Syncfusion, Inc.
 
Back
Top