Hi
I have below code in a CLASS & it givess message TempData does not exist incurrent context
C#
catch (Exception ex)
{
ExceptionLogging.SendExcepToDB(ex);
TempData["Message"] = ex.Message;
}Thanks
Hi
I have below code in a CLASS & it givess message TempData does not exist incurrent context
catch (Exception ex)
{
ExceptionLogging.SendExcepToDB(ex);
TempData["Message"] = ex.Message;
}Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Jun 30, 2021, 3:14 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jun 30, 2021, 2:38 AM EDT
Ramco RamcoRank #462 · 5.4K reputationPosted Jun 30, 2021, 2:42 AM EDT