C# How to disable ‘new row’ in DataGrid?
0 pts.
0
Q:
C# How to disable 'new row' in DataGrid?
Is there a way to disable new rows in DataGrid in C#?

There is a a * (asterisk) always at the last row of the datagrid.
The datagrid contains editable data and I do not want to use "ReadOnly=True"
to disable the "New Row (*)" at the end of the datagrid.

Any information is appreciated. Thanks.

Regards,
Manoj Patel
ASKED: Apr 11 2005  4:52 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
0 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
What datasource are you using? For example, on DataView there is a property called AllowNew. Set this to False and you're done.
Last Answered: Apr 11 2005  5:12 AM GMT by emanuelCZ   0 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0