I have a page which as been working just fine for months, that is simply pulling SQL data to a dataset, and on the RowDataBound event, I am adding a new cell to the row, a hyperlink to another page which is based on text data in certain columns of the row. All of that is fine. This week I have been trying to figure out a way to add one more column based on a user request. They would like to have a checkbox column and a button that performs an act with each of the checked items. This value doesn't need to be stored anywhere, and is only used in the session to determine what rows this action is taken against.
I am a noob to asp.net, usually spending time in Winform apps, but trying to help someone out by providing web page access to some data. I have scoured the pages trying to sort out whether I need to rewrite the page and data access in some way but there seems to be many many different ways people have solved similar problems. I think I have gotten really close a few times but either end up with a checkbox which I cannot get the value for (by adding cells in the same code that adds the hyperlink), to adding a templatefield. In this attempt what happens is that if I keep autogeneratecolumns=true then my databinding blasts over the templatefields and if I set it to false, nothing happens on databinding..
I really apologize to the many advanced users who
View Complete Post