March 12th, 2014, 12:30 PM
WebBrowser control report application
need some help to create tables, which will be displayed as webpages-HTML code, using WebBrowser control. Table will show catalogies of products (clothes), which needs to be displayed as HTML table.
Should be 4 categories of tables-reports: Women, Men, Kids, Combined, which will be chosen by hitting button: attached screenshot
Table should display separate cells: The Product name, Price, and Units In Stock. Like for example hitting "Men" button should display: Product name, Price, and Units In Stock.
The information needs to be pull out of doctext file:
Can use Mid(), Len() and Instr(), but no Split()
There is code, which is for reading one line only
Any help would be appreciated.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Price As Double
Dim UnitsSold As Integer
Dim UnitsInStock As Integer
Dim fileStreamReader As IO.StreamReader
Dim lineIn As String
fileStreamReader = IO.File.OpenText("../../Clothes.txt")
While Not fileStreamReader.EndOfStream
lineIn = fileStreamReader.ReadLine()
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.