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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataBound Grid on row insert

Thread ID:





3303 Mar 12,2003 08:37 AM UTC Mar 12,2003 08:43 AM UTC WinForms 1
Tags: GridControl
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

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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon