I am using a query string with 2 parameters name/DOB and id, in which first parameter name changes according to the necessity with DOB, i.e; either it could be name or DOB at one time, now I want to do something on the basis of parameter name, how can I achieve this.
For example this is the url www.example.com/detail.aspx?name=john&id=10 it could be www.example.com/detail.aspx?DOB=10/01/2009?id=10
pseudo code is something like this
if(first parameter name == "DOB")
{
// do something
}
please let me know if I can achieve this. Thanks in advance.