Hej!HTML tabell i ASP.NET 2
Om jag designar en tabell i deramweaver och klipper sedan ut HTML koden in på aspx sida. Kan jag sedan styra min data från codebehinde var i tabellen viss data skall visas.
ex:
<code>
<table width="488" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="19" colspan="3" valign="top"><!--DWLayoutEmptyCell--> </td>
<td colspan="5" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="65" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td width="26" rowspan="3" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="82" height="19" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="44" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="49" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="54" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="55" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="51" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="62" valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="19" valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="19" valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
<td valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="2"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</code>
om jag sedan vill att denna tabell skall fyllas med värden från en databas hur loopar jag då i codebehinde?
/Tyronne