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

DataGrid throws NoNullAllowedException

Thread ID:




13336 Apr 27,2004 01:03 AM UTC WinForms 0
Tags: FAQ
Asked On April 27, 2004 01:03 AM UTC

Hi, I have a DataGrid with custom ComboBox and DataTimePicker controls in column styles. When I add a new row, typing values into all columns, then close the form, I get a NoNullAllowedException, with additional information "Column 'RoomType' does not allow nulls". This is one of two columns with custom ComboBox styles. The SelectedValue of the ComboBox is bound to the RoomType column of the dataset. How do I correct this problem? Any ideas? Thanks, Royce


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