I want to store an array.A single value can stored in hiddenfield .like that how to store an array.I use viewstate and session but getting first value in array only.
Thanks in advance
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 attend5days leftRegister
Santhosh NRank #4,788 · 325 reputationPosted Jan 2, 2011, 8:23 PM EST
Session.Add("arKey", arObj);
String[] ar = (string[])Session["arKey"];
something like this should give you result