[Solved] C# If Else statement Error: } expected

ramco1917
 
on Mar 07, 2022 09:49 AM
637 Views

Hi

Error in else if statement } expected.

if (!String.IsNullOrEmpty(Request.QueryString["val"]))
{
    GetData(Convert.ToInt32(AES.Decrypt(Request.QueryString["val"])));
}
else if (Request.QueryString["AU"] != null && Request.QueryString["AU"] != string.Empty)
{
    string SaveMethod = Request.QueryString["AU"];
)
else
{
    Response.Redirect("LeadQuestionList");
}

Thanks

Download FREE API for Word, Excel and PDF in ASP.Net: Download
ramco1917
 
on Mar 07, 2022 08:14 PM

Hi

Resolved. Brackets Issue in else if statement.