Hi there,
You can use a DataView to disable AddNew. Drag a DataView component on your form. Bind your data to it's Table property. Then set AllowNew to false:
dataView1.AllowNew
Finally, bind the DataView to your Grid:
dataGrid1.DataSource = dataView1;
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Temptation by
New Order (Track 3 from the album:
Substance - Disc 1)
What's This?