There are some options to do this
1) make your datasource with certain number of rows
2) override insert event and make e.Cancel on add
3) make your datasouce read only
Hope it helps
--
Tamir Khason
You want dot.NET? Just ask:
"Please,
www.dotnet.us "
"VM" <vo******@yahoo.com> wrote in message
news:eC*************@TK2MSFTNGP10.phx.gbl...
In the Windows datagrid (if read-only is false), a user can add another
row to the grid if the Tab key is pressed when the cursor's in the last row
and last column. Is there any way to eliminate this without making the grid
read-only? I need to be able to modify the data in the grid and to add
more rows to the grid.
Thanks.