How to delete the * row in Datagrid

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.
 
C

ClayB

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top