Solution:
protected void Page_Load(object sender, EventArgs e) { if (!string.IsNullOrEmpty(Request.QueryString.ToString())) { //--- This code will execute if query string is not null or not empty } }
Some useful resources:
1) Query String Example in Asp .Net
2) Query String multiple parameters Example in Asp .Net
3) Query String Encrypt Decrypt in asp .net