from this url how can i get the id 1(in the example) using request.QuryString.
You can't.
Query string is something that follows the page after ?
Your URL doesn't use query string.
You can use
Request.Url.AbsoluteUri
instead.
[VB]
Dim s as String = System.IO.Path.GetFileName(Request.Url.AbsoluteUri).ToLower().Replace(".aspx", "")
Dim number as String = s.Substring(s.LastIndexOf("-") + 1)
[C#]
string s = System.IO.Path.GetFileName(Request.Url.AbsoluteUri).ToLower().Replace(".aspx", "");
string number = s.Substring(s.LastIndexOf("-") + 1);
You can convert it to integer later.
If you really use query string then
Request.QueryString["ID"]
is enough.