I have a page with a paragraph and its styles in HTML. According to the data of a DataSet that I have previously filled with XML I have to fill in some fields of this paragraph.
What is the best way to do it?
<div class ="paragraph">
<div class="text">
<p><span style="font-family:'Arial Negrita'; font-weight:700;"> Número ficha: WWWW </span></p>
<p><span style="font-family:'Arial Negrita'; font-weight:700;"> Nombre: XXXX </span></p>
<p><span style="font-family:'Arial Negrita'; font-weight:700;"> Apellido: YYYY </span></p>
<p><span style="font-family:'Arial Negrita'; font-weight:700;"> DNI: ZZZZ </span></p>
</div>
</div>
Where WWWW
, XXXX
, YYYY
, ZZZZ
would be the variables that I read of DataSet
For example: WWWW = dataSet.Tables["CLIENTES"].Rows[0]["NumFicha"]