Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 517.4k

Specified cast is not valid

May 24 2023 3:41 PM

Hi

  I am getting above error on below line

Session["dupRecords"] = "";
                Session["totRecords"] = "";

Session["dupRecords"] = ((int?)Session["dupRecords"] ?? 0) + 1;

Thanks


Answers (1)