I have a query in a dataset that is used to navigate from a gridview on a Master page to a detailview on the Details page. The query returns a URL like this:
What is the best way to capture that url and use it again? What I want to do is capture it, cut out everything except the 365 and use it to insert into another table. I don't know when to capture it (before the details page loads? after?) or how to capture it.