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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top