Visually, this url:
http://localhost/menu.aspx/?id
, does not make much sense and the 'id' would be ignored. It's not a valid query string.
What you can do is: Use
'URL Rewriting'.
Read here:
URL Rewriting with ASP.NET[
^]
MSDN: URL Rewriting[
^]
OR
Read about, In ASP.NET 4.0:
URL Routing[
^]
Internally, you can formulate a URL that would do the same thing that you want. Infact, you can also handle the same URL that you want. Once URL rewriting is in place you can handle the URL accordingly and display the data desired.