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 throws NoNullAllowedException

Thread ID:

Created:

Platform:

Replies:

13336 Apr 26,2004 09:03 PM Windows Forms 0
loading
Tags: FAQ
RFickling
Asked On April 26, 2004 09:03 PM

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

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.

;