Avatar of Butler Bros
Butler Bros
Flag for United States of America

asked on 

Can I add a text value to a gridview cell "manually" vs via dataset?

I've got a working ASP app with a gridview populated via a SQL select string.
I'd like to add a column at the end of the gridview, and populate it in a For loop, where I'm doing some other checks when the gridview refreshes..

Something like:
                    GridView1.Rows(i).Cells("MYNEWCOLUMNNAME").Text = "hi"

Open in new window

I tried adding a new column in the gui "SITE", as a BoundField, but I'm thinking this isn't going to work quite that easily..

Thoughts?
ASP.NETVisual Basic.NET

Avatar of undefined
Last Comment
Butler Bros

8/22/2022 - Mon