Reputation: 1449
I am using a WebBrowser
control in my application.
I have URLs of websites in a list, and I want to open them one by one in my web browser control using C#.
Upvotes: 0
Views: 311
Reputation: 41
foreach (string str in hyperlinks) works however the problem is the answer won't give you the result you want.
Upvotes: 0
Reputation: 63240
here you go:
List<string> hyperlinks = new List<string>();
foreach (string str in hyperlinks)
{
mybrowser.Navigate(str);
}
Upvotes: 1