listbox to web browser component help..
Hi can some one help me on
how can i import email from listbox to
loaded url in web browser component..?
i have an url there www.mylink.com and when it loads it has a textbox and continue button.
I need help on how to import email from listbox to that textbox and the application after inserting to click to continue button on loaded web url..
Can some one help me on this please...?
Re: listbox to web browser component help..
I don't think I fully understand your question.
Do you have a listbox on one page, and want to pass it to a textbox on another page? If so, you can use the get functionality in browser by doing something like the following:
Code:
Public sub button_click(sender as object, e as eventargs)
'navigate to "http://www.mylink.com?email=" + mylistbox.Items(mylistbox.SelectedIndex).ToString
End Sub
And on the page with the textbox:
Code:
String email = Request.QueryString("email")
Me.TextBox1.Text = email
Code may not be perfect, but it should get you started : ).
Justin
Re: listbox to web browser component help..
the listbox is in the vb.net application but the textbox and the buttonis in web page loaded on the webbrowser
so from the application to a textbox loaded inside of the loaded link..