We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

datagrid

Thread ID:

Created:

Updated:

Platform:

Replies:

17886 Aug 19,2004 01:57 AM Aug 26,2004 12:07 AM Windows Forms 1
loading
Tags: FAQ
Hadi Aliakbarpour
Asked On August 19, 2004 01:57 AM

I have a datagrid. i want that the datagrid can edit its rows, but can not allow to add new record.

Revlis
Replied On August 26, 2004 12:07 AM

maybe you can try this: DataView dv = ((DataTable)datagrid.DataSource).DefaultView; dv.AllowNew = false; dv.AllowDelete = false; >I have a datagrid. i want that the datagrid can edit its rows, but can not allow to add new record. >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;