How I can show a mesage box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I need help. follow my question.
I'm trying to show in a mesagge box a record that I select on a combo box,
but it show the first time the first record in the data table
and then I select anotherone.it just gave me a message of
System.Data.DataRowView.
The code that I'm using is the follow:

Dim ds As MirrorDataSet
Dim cb As String
Dim i As Integer

i = cbocourses.SelectedIndex
cb = cbocourses.SelectedValue.ToString()

MsgBox(cb, MsgBoxStyle.DefaultButton1)


thanks

Ari
 
Ari,

Did you fill the combobox with something?

Probably a better newsgroup for this question is
microsoft.public.dotnet.languages.vb

There are a lot more persons who answer VBNet questions.
When you think this has not to do with VBNet you can of course keep asking
your questions here.

Cor
 
Back
Top