Thank you Mr. Wagner but it didn't work
Here's what I did.First I tried to refresh the data by refilling it in btnSubmitChanges. All the messges were correct.(Before I tried try catch but no errors were caught.
then I called the procedure you suggested
MsgBox(sCheck
Tr
MsgBox("in try"
If Check = 1 Then daDT.Fill(DsDT1, "DateType"
MsgBox("past if"
CheckAction(Check
Catch ex As Exceptio
MsgBox(ex.Message & s & ex.HelpLink & s & ex.StackTrace & s & ex.Source & s & "The form will be closed") '& s & ex.TargetSite
End Tr
If Check = 1 Then daDT.Fill(DsDT1, "DateType"
CheckAction(Check
Here's the procedure
Private Sub CheckAction(ByVal Check As Integer
If Check = 1 The
MsgBox(Check.ToString
daDT.Fill(DsDT1.DateType
MsgBox("After fill"
End I
btnLoad_Click(Me, EventArgs.Empty
End Su
Again the messageboxes made the right noises, but the dataset wasn't filled
So we went to a new button I put on the form(not visible
Same story. Can't understand why I can't reload the dataset in all three cases
So I made btnLoad visible. After all the preceding, I clicked it. That too didn't work
Seems strange to me.
polynomial5d