hi all
i have problem in datalist
i create dalalist2 include carpieceidLabel and datalist1
but when select image from datalist1 to display in gallery show all images in other rows
i need only show images in this rows by carpieceidLabel ?
this code :
<asp:DataList ID="DataList2" runat="server" DataKeyField="carpieceid"
DataSourceID="SqlDataSource2" Width="435px">
<ItemTemplate>
carpieceid:
<asp:Label ID="carpieceidLabel" runat="server"
Text='<%# Eval("carpieceid") %>' />
<br />
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:testConnectionString %>"
SelectCommand="SELECT [imagename] FROM [image] WHERE ([imageforid] = @imageforid)">
<Sele ...
Go to the complete details ...