This project has moved and is read-only. For the latest updates, please go here.

<th> tag bug

Jun 9, 2010 at 1:16 AM
Edited Jun 9, 2010 at 1:18 AM

Sample is below.

The library(HtmlToOpenXml.dll 1.2) does't resolve the end </th> tag!

<table id="ctl00_ContentPlaceHolder1_ListView_Products_itemPlaceholderContainer" border="1" style="border-collapse: collapse;vnd.ms-excel.numberformat:@" bordercolor="#000000" cellpadding="3" cellspacing="0">
            <tr style="">
                <th>
                                                ProductID</th>
                <th>
                                                Name</th>
                <th>
                                                ProductNumber</th>
                <th>
                                                Color</th>
                <th>
                                                SellStartDate</th>
                <th>
                                                ModifiedDate</th>
            </tr>

                
                        <tr style="">
                            <td>
                                1
                            </td>
                            <td>
                                <span id="ctl00_ContentPlaceHolder1_ListView_Products_ctrl0_NameLabel">Adjustable Race</span>
                            </td>
                            <td>
                                <span id="ctl00_ContentPlaceHolder1_ListView_Products_ctrl0_ProductNumberLabel">AR-5381</span>
                            </td>
                            <td>
                                <span id="ctl00_ContentPlaceHolder1_ListView_Products_ctrl0_ColorLabel"></span>
                            </td>
                            <td>
                                <span id="ctl00_ContentPlaceHolder1_ListView_Products_ctrl0_SellStartDateLabel">1998-6-1</span>
                            </td>
                            <td>
                                <span id="ctl00_ContentPlaceHolder1_ListView_Products_ctrl0_ModifiedDateLabel">2004-3-11</span>
                            </td>
                        </tr>

</table>

Coordinator
Jun 12, 2010 at 6:41 PM

Sorry my mistake, I forgot to add "</th>" in the knowns tags !

I will release a new version.

Thanks for your feedback