Write a program to check empty query string in asp .net

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

 

 
We are nothing without our users ! You can help us offer even more high quality content. Please share our page !
Best quality Asp .Net Ajax Control Toolkit tutorials.

Give your valuable comments.

Name
Email
Comment
6 + 1 =
 
About Us | Terms of Use | Privacy Policy | Disclaimer | Contact Us Copyright © 2012-2017 CodingFusion