My url is
http://mydomain/Mumbai-to-Paris-January-1023/Article.aspx
Now on click of this page I want the user to redirect to Article.aspx page where I will extract the Id on Page Load and pass it to my stored procedure.
My link is coming from my ASPX page here's the code:
<% foreach (System.Data.DataRow item in dt.Rows)
{
%>
<div class="col-xs-6 col-sm-3 mix livefeeds News">
<div class="work-item">
<div class="image-holder">
<a href="<%= "/"+ item["Url"]+"/"+ "Article.aspx"%>">
<img src="<%=item["ImagePath"].ToString()%>" />
<h4>
<span>
<%=item["Headline"].ToString()%></span>
</h4>
</a>
</div>
</div>
</div>
<%
}
%>