Click here to Skip to main content
16,016,580 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: DataGridView databound to textboxes and CellValidating Pin
kubben18-May-07 5:52
kubben18-May-07 5:52 
GeneralRe: DataGridView databound to textboxes and CellValidating Pin
Marcus J. Smith18-May-07 7:24
professionalMarcus J. Smith18-May-07 7:24 
GeneralRe: DataGridView databound to textboxes and CellValidating Pin
kubben18-May-07 7:30
kubben18-May-07 7:30 
GeneralRe: DataGridView databound to textboxes and CellValidating Pin
Marcus J. Smith18-May-07 7:46
professionalMarcus J. Smith18-May-07 7:46 
GeneralRe: DataGridView databound to textboxes and CellValidating Pin
kubben18-May-07 7:48
kubben18-May-07 7:48 
GeneralRe: DataGridView databound to textboxes and CellValidating Pin
Marcus J. Smith18-May-07 8:20
professionalMarcus J. Smith18-May-07 8:20 
GeneralRe: DataGridView databound to textboxes and CellValidating Pin
kubben18-May-07 8:24
kubben18-May-07 8:24 
GeneralRe: DataGridView databound to textboxes and CellValidating Pin
Marcus J. Smith18-May-07 8:43
professionalMarcus J. Smith18-May-07 8:43 
kubben wrote:
Well, according to your error message it is the columnName that does not allow nulls. So you must have a column in your datatable that doesn't have a name for some reason. I didn't read the error close enough the first time.


Actually that is just the generic name I gave it when I posted the error message it is actually a quantity column. What I have is a form with the bound textboxes and some comboboxes as well. When the value is no present in the grid, say it is old data being pulled up again or for whatever reason that value is missing OR doesnt match any values in the drop downs. What it is doing is trying to place a blank/NULL in that column when the row is navigated away. What I am trying to do is prevent that navigation by setting an ErrorProvider on those input controls which works before the exception is thrown in the CellValidating portion only. But like I said I cant stop the navigation from there without affecting other events.


CleaKO

"Now, a man would have opened both gates, driven through and not bothered to close either gate." - Marc Clifton (The Lounge)

QuestionChat Application Pin
kantipudi18-May-07 3:45
kantipudi18-May-07 3:45 
AnswerRe: Chat Application Pin
Dave Kreskowiak18-May-07 4:24
mveDave Kreskowiak18-May-07 4:24 
GeneralRe: Chat Application Pin
Paul Conrad18-May-07 6:16
professionalPaul Conrad18-May-07 6:16 
GeneralRe: Chat Application Pin
leckey18-May-07 8:01
leckey18-May-07 8:01 
GeneralRe: Chat Application Pin
Paul Conrad18-May-07 10:18
professionalPaul Conrad18-May-07 10:18 
GeneralRe: Chat Application Pin
The ANZAC18-May-07 12:10
The ANZAC18-May-07 12:10 
GeneralRe: Chat Application Pin
Paul Conrad18-May-07 14:42
professionalPaul Conrad18-May-07 14:42 
GeneralRe: Read what i asked? Pin
kantipudi21-May-07 19:48
kantipudi21-May-07 19:48 
QuestionHelp me make this code to Point to SQl Server that Access localy Pin
Vimalsoft(Pty) Ltd18-May-07 3:39
professionalVimalsoft(Pty) Ltd18-May-07 3:39 
AnswerRe: Help me make this code to Point to SQl Server that Access localy Pin
Dave Kreskowiak18-May-07 4:20
mveDave Kreskowiak18-May-07 4:20 
QuestionProblems add a new record to a DataSet using the BindingNavigator Control Pin
Quecumber25618-May-07 3:11
Quecumber25618-May-07 3:11 
AnswerRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Marcus J. Smith18-May-07 4:36
professionalMarcus J. Smith18-May-07 4:36 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Quecumber25618-May-07 5:13
Quecumber25618-May-07 5:13 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Marcus J. Smith18-May-07 5:32
professionalMarcus J. Smith18-May-07 5:32 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Quecumber25618-May-07 6:22
Quecumber25618-May-07 6:22 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Marcus J. Smith18-May-07 7:20
professionalMarcus J. Smith18-May-07 7:20 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Quecumber25618-May-07 7:34
Quecumber25618-May-07 7:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.