my problem: how do I populate extra cells in my gridview during the runtime construction of the grid? (these cells are not bound to any datasource and all I want to do is show some custom text)
I have a gridview on my page and I get 2 columns as bound columns from a fixed database - let's call them
id and URL
I've added a couple of extra columns which are not bound to any datafield but I want to populate the cells with some text which is relevant to the id
for e.g. if the row 1 is
then I want the extra cell to have 'you have visited this 13 times'
12 http://www.something.com 'you have visited this 13 times'
this text comes from some internal processing I do.
What I want to do is to insert this text when the gridview is being constructed at run time..am totally clueless how to do this. I'm sorry if I'm asking a very dumb question..