Hi Vikas, I think you want to set the image url, so try this.... (Based on the idea that you have told the gridview to have a Template Field) <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("Product_Image") %>' />
So you would place it inside a template field like below.
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="ObjectDataSource1">
<Columns>
<asp:TemplateField HeaderText="Product\_Image" SortExpression="Product\_Image">
<ItemTemplate>
<asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("Product\_Image") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="ProductTitle" HeaderText="ProductTitle" SortExpression="ProductTitle" />
<asp:BoundField DataField="ProductDesc" HeaderText="ProductDesc" SortExpression="ProductDesc" />
</Columns>
</asp:GridView>
I think this is what you might mean. Hope it helps Rob
.NET Developer @ FactoryMaster Ltd "Software for TOUGH businesses"