Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stopping users entering rows in a datagrid

Status
Not open for further replies.

dynodave

Programmer
Joined
Sep 23, 2002
Messages
11
Location
GB
How do you set columns in a datagrid to readonly = false while also not allowing users to enter new rows of data.
 
Use a dataView for your datagrid's datasource, and set the dataView's "AllowNew" property.
 
cheers riverguy, just what i needed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top