Bind it to a DataView and set the DataView.AllowDelete property to false.
Something like this:
DataView view = new DataView(table);
view.AllowDelete = false;
grid.DataSource = view;
/claes
"Jason Huang" <Ja************@hotmail.comwrote in message
news:e2**************@TK2MSFTNGP05.phx.gbl...
Hi,
In my C# 1.1 Windows Form, how do I limit a DataGrid's rows not to be
deleted, but still can be edit.
Thanks for help.
Jason