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.

DataBound Grid on row insert

Thread ID:

Created:

Updated:

Platform:

Replies:

3303 Mar 12,2003 03:37 AM Mar 12,2003 03:43 AM Windows Forms 1
loading
Tags: GridControl
Rajaraman
Asked On March 12, 2003 03:37 AM

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 03:43 AM

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.

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.

;