navbar help

rjhe22

Well-known member
Joined
May 22, 2008
Messages
88
Programming Experience
Beginner
hi
i am having a problem. i have a fourm with three rows in it and a nav bar. now what i want to happen is when i click on add on the nav bar it wont let me move on to the new row unless all three rows are filled in any one have any ideas
thats should be a datagrid with three rows
 
need to trap the position changed and raise an alert if there is a DBNull in the row
can anyone help
 
This should give you a nudge in the right direction:
VB.NET:
'dv is a DataView, you could use a DataSet too
For Counter As Integer = 0I To dv.Count - 1I
    If dv(Counter)("ColumnName") Is DBNull.Value Then
        'This is a null value
    End If
    If dv(Counter)("OtherColumnName") Is DBNull.Value Then
        'This is a null value
    End If
Next Counter
 
Back
Top