Gridview custom column
Posted on 2007-11-29
In asp.net I am creating a gridview. All columns are from a table, except one. In this one column, it has a header and the column value is the same for every row. It is an image. The same image. On every row. Yep every row.
So how do I create a column that I can just put in the same image for every row?
I tried a TemplateField but the way I did it, it wouldn't let me add an <img tag or a or an <asp:Image runat="server"></asp:Image>.
I tried an ImageField from the properties, but that seemed to want to pull it from the database? <asp:ImageField
How do I do this?