C# code:
string myMessage;
myMessage = "You are in the " + myComboBox.SelectedText + " site.";
MessageBox.Show(myMessage);
VB.Net code
Dim myMessage as String
myMessage = "You are in the " & myComboBox.SelectedText & " site."
MessageBox.Show(myMessage)
David
"Massy" <an*******@discussions.microsoft.com> wrote in message
news:71**********************************@microsof t.com...
Hi all,
Just a quick question...
does anyone know how i can include the value of a combobox into my message
that appears in my messagebox?
i.e if my combobox contains USA, how do i write 'you are in the USA site'
??
thx