This is May Sample Code in ASP.NET How Can I Add A similar Image Column To All Rows After Binding
gridview1.DataSource = MB.GetTest();
gridview1.DataBind();
And My ASPX Page:
<asp:GridView ID="gridview1" runat="server">
</asp:GridView>
I really need irt, thanks.
Update
<asp:GridView ID="gridview1" runat="server">
<Columns>
<asp:ImageField>
</asp:ImageField>
</Columns>
</asp:GridView>
hi i would like to explain you a little there is a property called
AutoGenerateColumns="false"you need to set this as falseand generate columns in your aspx and bind them Refer this Site
There you go with Image column above
<asp:ImageField DataImageUrlField="PictureURL"></asp:ImageField>MSDN is another best site to refer…
above code is taken from MSDN website.