G
Guest
I have a DataGridView whose dource is a typed dataset. Before I call
TableAdapter.Update, I want to make sure that the a value in the underlying
datatable is not null. For some reason I can't get to it and check it
I wanted to do this
if not
typeof(Me.CTSData.dtActions(Me.DtActionsBindingSource.Current).ActionID) is
system.DbNull then
....
But I get an IndexOutOfRange Exception. I'm thinking the TypeOf operator
won't work either
grr
but this is clearly has a couple of problems
TableAdapter.Update, I want to make sure that the a value in the underlying
datatable is not null. For some reason I can't get to it and check it
I wanted to do this
if not
typeof(Me.CTSData.dtActions(Me.DtActionsBindingSource.Current).ActionID) is
system.DbNull then
....
But I get an IndexOutOfRange Exception. I'm thinking the TypeOf operator
won't work either
grr
but this is clearly has a couple of problems