1
I have a screen, which through a List View, display a photo per register listed.
<td class="col-md-1 text-center" style="vertical-align: middle">
<asp:Image runat="server" ImageUrl='<%# "~/ControlePatio/Veiculo/ExibirFotos.aspx?CodigoFoto=" + Eval("Foto") %>' Width="130" Height="90" />
</td>
The photos are saved in the database and the problem is that for each record found, a select is made on the "Displarfotos" page, which returns an array of bytes. This factor influences system performance when many records are displayed on that screen.
I wish I didn’t have to make that other select to fill the Image component.