Hello all.

Before I begin, this is VB.net code behind.

Databinding was not my decision. This application was developed by a contractor about a year before I began working here. Now, they want to "expand" the application and because of the databinding behaviors, it's been a bit of a headache.

Anyway, I have a webpage with a datagrid that is bound to a collection. I have had no problems binding the grid to the proper collection in code.
However, I have three columns: A, B, C (yea, literally), and each letter is a hyperlink to a different page.

The problem comes in when I click one of those three column links. The navigate url is hardcoded into the source (because of the databinding? I dunno), so it does not transfer the necessary variables to the next page for proper display. It's still looking for certain values in the grid, which have not been populated by the current collection.

In short, the navigateurl needs to change based on a session variable.

Is there any way to change the navigate url in code? If not, is there a way to change it in the source? I am completely out of ideas on this one.