hi,
i want to programmatically click a link on a asp.net web site. first i ve navigated to that website and i ve got a code from some other website
For i As Integer = 0 To Me.WebBrowser1.Document.Links.Count - 1
If Me.WebBrowser1.Document.Links(i).InnerHtml.StartsWith("Learn HTML") Then
Me.WebBrowser1.Document.Links(i).InvokeMember("Click")
End If
Next
but i dont know how and where to use it in my program code since im new to asp.net. can anybody help.
Thanks in advance.
Expecting fast replies guys.