I want to get image from database on GridView2_SelectedIndexChanged and bind it to listbox using 2 parameters and query string.
<asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" OnSelectedIndexChanged="GridView2_SelectedIndexChanged" OnRowDataBound="GridView2_RowDataBound" CellPadding="3" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px">
<FooterStyle BackColor="White" ForeColor="#000066" />
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
<PagerStyle ForeColor="#000066" HorizontalAlign="Left" BackColor="White" />
<RowStyle ForeColor="#000066" />
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
<SortedAscendingCellStyle BackColor="#F1F1F1" />
<SortedAscendingHeaderStyle BackColor="#007DBB" />
<SortedDescendingCellStyle BackColor="#CAC9C9" />
<SortedDescendingHeaderStyle BackColor="#00547E" />
<Columns>
<asp:BoundField ItemStyle-Width="150px" DataField="partName" HeaderText="Parts Name" >
<ItemStyle Width="150px"></ItemStyle>
</asp:BoundField>
</Columns>
</asp:GridView>
<asp:Panel ID="Panel1" runat="server" ReadOnly="true" BorderWidth="2px" BackColor="White" Width="70%" Height="30%">
<asp:ListView ID="ListView1" runat="server">
<EmptyDataTemplate>
<span>No data for this event was found.</span>
</EmptyDataTemplate>
<ItemTemplate>
<asp:Label Text='<%#Eval("fig_Item_No") %>' runat="server" />
<br />
<asp:Label Text='<%#Eval("partName") %>' runat="server" />
<br />
<asp:Image ImageUrl='<%#Eval("ImageCSharp.aspx?fig_Item_No={0}" + Eval("ImageCSharp.aspx?partName={1}")) %>' Height="100%"
Width="100%" runat="server" />
<br />
<br>
</ItemTemplate>
</asp:ListView>
</asp:Panel>