1
Answer

Read HTML Table in c# without HTMLagility pack

mohan

mohan

10y
8.5k
1

I am using Windows app to read a HTML table which in format

<table style="width:100%"> <tr> <th>Firstname</th> <th>Lastname</th> <th>Points</th> </tr> <tr> <td>Eve</td> <td>Jackson</td> <td>94</td> </tr>

i am able to read values by tr or td,but i am not able to read second tr value as per corresponding first tr heading(eg first name/eve) here.how can i achieve this.any suggestions welcome please

Answers (1)
2
Thiyagarajan E

Thiyagarajan E

NA 1.1k 6.8k 8y
I found the Solution:
Finf the Report web config in the below path :
C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportManager\web .config
Replace or add below line: to set admin credential for all users to access the report.

<authentication mode="Windows" /> // Authentication mode to be set to windows

<identity impersonate="true " userName="UserName" password="Password"/> // identity impersonate to be set to true and User name & Password of the SQL Server administrator should be added.