Split URL for a SELECT statement
Posted on 2013-10-29
I've upgraded the articles section on my site from ASP classic to C#, and I'm having trouble isolating a string on the URL to select the page number. At present, my site URL would look like this:
This would give me page 1. If I change the URL to:
I want to be able to view the second page - can anyone show me how to isolate the number after the split and then declare it as a variable in order to use it in my select statement?
Any help much appreciated, as ever.