TempData is best option for you, it's dictionary type.
Other then this you can user Sessions to maintain your data globally for application scope, you can Also you Application Variable to enhance the scope of your data to access them anywhere in application.
Suraj KumarRank #353 · 7.1K reputationPosted Aug 4, 2019, 8:28 AM EDT
Puneet KankarRank #446 · 5.6K reputationPosted Aug 4, 2019, 9:20 AM EDT
TempData dictionaryChittaranjan SwainRank #216 · 11.3K reputationPosted Aug 4, 2019, 7:17 PM EDT
Junaid ShahidRank #436 · 5.7K reputationPosted Aug 4, 2019, 10:15 PM EDT
Bhuban MagarRank #1,679 · 909 reputationPosted Aug 6, 2019, 7:01 PM EDT
Sonu GuptaRank #1,261 · 1.4K reputationPosted Aug 6, 2019, 8:18 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts