Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

View TextBox.Text in WebBrowser on form

Posted on 2009-05-19
3
Medium Priority
?
210 Views
Last Modified: 2012-05-07
I have a form with WebBrowser1 on it along with TextBox1 that is bound to data that is stored in html format on the server.  The textbox gets filled on open and the data does come in as an html string with tags and such.  I have the textbox set to multiline as well.  How can I tell the WebBrowser1 to display the contents of textbox1.text??
0
Comment
Question by:H-SC
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
CyberLex earned 2000 total points
ID: 24425947
WebBrowser1.DocumentText = TextBox1.Text

cheers
Lex
0
 
LVL 1

Author Comment

by:H-SC
ID: 24434108
Thanks Lex
It works great!!
0
 
LVL 9

Expert Comment

by:CyberLex
ID: 24436318
:=)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Integration Management Part 2
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question