ho visto il link.
Questa è la classica visualizzazione di un repeater o controlli simili.
Non devi usare un gridview, bensì un semplice formview per crearti il tuo layout.
Dopodichè ti copi tutto quello che hai messo in <itemtemplate> del formview all'interno di un repeater.
esempio:
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
SelectCommand="SELECT * FROM [Products by Category] ORDER BY [ProductName]">
</asp:SqlDataSource>
<asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">
<ItemTemplate>
... ... ...
... ... ...
... ... ...
</ItemTemplate>
</asp:Repeater>
dove il contenuto del "form" di visualizzazione potrebbe essere anche una semplice tabella come questa:
<table>
<tr>
<th colspan="2">
ProductName:
<asp:Label ID="ProductNameLabel" runat="server" Text='<%# Bind("ProductName") %>' />
</th>
</tr>
<tr>
<td>
CategoryName:
<asp:Label ID="CategoryNameLabel" runat="server" Text='<%# Bind("CategoryName") %>' />
</td>
<td rowspan="4" style="border: solid 1px gray;">
FOTO DELL'ARTICOLO
</td>
</tr>
<tr>
<td>
QuantityPerUnit:
<asp:Label ID="QuantityPerUnitLabel" runat="server"
Text='<%# Bind("QuantityPerUnit") %>' />
</td>
</tr>
<tr>
<td>
UnitsInStock:
<asp:Label ID="UnitsInStockLabel" runat="server" Text='<%# Bind("UnitsInStock") %>' />
</td>
</tr>
<tr>
<td>
Discontinued:
<asp:CheckBox ID="DiscontinuedCheckBox" runat="server"
Checked='<%# Bind("Discontinued") %>'
Enabled="false" />
</td>
</tr>
</table>
____________
Ricordati di utilizzare il tasto "Accetta" se i nostri consigli ti sono serviti a risolvere il problema.
È il modo per ringraziare chi ti ha aiutato.