all groups > dotnet general > august 2004 >
You're in the

dotnet general

group:

How I can show a mesage box


How I can show a mesage box Ari
8/31/2004 11:59:02 PM
dotnet general:
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

Re: How I can show a mesage box Cor Ligthert
9/1/2004 2:05:02 PM
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

AddThis Social Bookmark Button