Click here to Skip to main content
15,913,090 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i read table with Unordered list then bulltes symbol not read properly.

What I have tried:

System.IO.StreamReader objStReader = new System.IO.StreamReader(Convert.ToString(fileNameHTML), Encoding.Default);
C#



also i have try following ways but problems not solved so please help me

System.IO.StreamReader objStReader = new System.IO.StreamReader(Convert.ToString(fileNameHTML));



or

System.IO.StreamReader objStReader = new System.IO.StreamReader(Convert.ToString(fileNameHTML), Encoding.UTF8);
C#

Posted
Updated 3-Mar-20 21:57pm
v2

1 solution

You will not see the bullets in the HTML source file. HTML unordered lists are set between <ul> tags, and the HTML parser responsible for display turns list items into bulleted lines.

If fileNameHTML variable already is a string, there is no point in "converting" it to a string. In fact, usage of the Convert class should be avoided as much as possible, and is often the sign that something should be better done another way.
 
Share this answer
 
Comments
[no name] 4-Mar-20 4:42am    
Thanks Sir...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900