how to acces from mdf file
hi, guy
I'm still new to vb
I try to get acess to the mdf file in one paticular file
here what i want to do
if the user select the wrong answer, then It show a messagebox whith the right answer.
Code:
Dim recPtrPos as integer
Dim Correct As string = Me.TriviaDataSet.Game1(recPtrPos).CorrectAnswer
If userAnswer <> Correct then
'the problem here
MessageBox.Show("The correct answer is: " & Correct, "Correct Answer", _
MessageBoxButtons.OK, MessageBoxIcon.Information)
Thank you
Re: how to acces from mdf file
So what's the actual question?
Re: how to acces from mdf file
My question is how can I show a message box with the right answer
here "MessageBox.Show("The correct answer is: " & Correct" )whent the user select the wrong answer. the "Correct" is a field from the database Game1.
I was thinking problebly I have to use the loop, but i don't know how.
Andy advice?