show sql data in asp .net?

0

I have the following code to show data from a selected sql and I want to show that data in the following way, but it does not show them to me. And if I put it inside a repeater "he repeats it several times" and I only want to show it once.

table style="border-bottom: 2px solid black; float:left; width:70px;">

	<tr><td class="Etiquetas" style="width: 80px;">Código:</td>
		
		<td style="width:auto; text-align:left"><%#Eval("Codigo")%></td>

	</tr>
	<tr><td class="Etiquetas">Nombre:</td>
		
		<td style="width:auto; text-align:left"><%#Eval("Nombre")%>

	</td></tr>

	<tr><td class="Etiquetas">Edad:</td>
	 
		<td style="width:auto; text-align:left"><%#Eval("Edad")%>

	</td></tr>
	
	</table>
    
asked by Geek 21.06.2018 в 17:12
source

0 answers