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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataBound Grid on row insert

Thread ID:

Created:

Updated:

Platform:

Replies:

3303 Mar 12,2003 08:37 AM UTC Mar 12,2003 08:43 AM UTC WinForms 1
loading
Tags: GridControl
Rajaraman
Asked On March 12, 2003 08:37 AM UTC

hi I am using databound mode of grid with a property EnableAddNew= True,so it automatically inserts a record when i start entering in the row, and also throws error "column1 does not allow Nulls" any event which happens while automatically inserting a empty row in the grid? i want to trap that error by assigning value to Not null column while inserting itself Regards Rajaraman

pal
Replied On March 12, 2003 08:43 AM UTC

I already asked this question, check out below. Short answer : no, but you can trap it with rowenter event and checking the rowid + the datasource rowcount.

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.

Warning Icon 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.Close Icon

;