This project has moved. For the latest updates, please go here.

string table

Jun 5, 2015 at 2:26 PM
Edited Jun 5, 2015 at 2:26 PM

i need some help in this issue:
i save to sql data base the text from editor ajaxcontrol. the users insert some text and when i select the data table return something like this:
<table> <tbody> <tr> <td> <p>Proposta</p></td> <td> <p>2015_DRC_NOR_000098_S01</p></td></tr> <tr> <td> <p style="font-weight: bold">Montante da Proposta</p></td> <td> <p>14384,86 €</p></td></tr> <tr> <td> <p style="font-weight: bold">Prazo</p></td> <td> <p>33</p></td></tr> <tr> <td> <p style="font-weight: bold">Nº de prestações</p></td> <td> <p>33</p></td></tr> <tr> <td> <p style="font-weight: bold">Periodicidade</p></td> <td> <p>Mensal</p></td></tr> <tr> <td> <p style="font-weight: bold">Prazo de carência de capital</p></td> <td> <p>0</p></td></tr> <tr> <td> <p style="font-weight: bold">Carência de Juros</p></td> <td> <p>Sem carência</p></td></tr> <tr> <td> <p style="font-weight: bold">Taxa de juro pré-acordo</p></td> <td> <p>7,050 %</p></td></tr> <tr> <td> <p style="font-weight: bold">Taxa de juro acordo</p></td> <td> <p>7,050 %</p></td></tr> <tr> <td> <p style="font-weight: bold">Outras condições</p></td> <td> <p>Reforço de garantias</p> <p>Pagamento prévio das FT vencidas</p> <p>Execução do penhor de ações</p></td></tr></tbody></table> however then i put this in the propertie, the word didn't assume this like a table but only text

Dim doc As DocX = DocX.Load("S:\Templates\test.docx")
        Dim tvar As tclass= New tclass
        Dim DS As DataTable = New DataTable
        DS = tvar .Listtest(cod).Tables(0)

        doc.AddCustomProperty(New CustomProperty("Operacao", DS.Rows(0)(6).ToString))
is there a worksround for this problem?
thank you for your support.
di geral