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

 

 
Best quality Asp .Net Ajax Control Toolkit tutorials.

Give your valuable comments.

Name
Email
Comment
2 + 7 =
 

About Us | Terms of Use | Privacy Policy | Disclaimer | Contact Us Copyright © 2012-2024 CodingFusion
50+ C# Programs for beginners to practice