Can we Store datatable in session? if yes thenHow?
Session
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
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
Koteswararao MallisettiRank #2,740 · 511 reputationPosted Sep 18, 2010, 5:55 AM EDT
DataTable dt= new DataTable();
Session["storedDt"]=dt;
in the retrieving we can explicitly convert that into data table by type casting why because
it is stored as object