i have a web browser and a listBox showing urls from an sql server database, how can i tell to the webBrowser to navigate to listBox selected url? i tried this code but it stay on the first url! help me please!
private void listBox1_SelectedValueChanged(object sender, EventArgs e)
string url = listBox1.SelectedValue.ToString();
Edited 5-May-13 15:20pm
change this line
string url = listBox1.Text;
string url = listBox1.SelectedText;
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)