Author: asp_crazy_guy | Posted on: 3/19/2010 1:49:56 AM | Views : 282

Hi , I am populating a crystal report with a set of parameters stored in a hashtable. But, by using for each the order of items is not same as when I inserted the in hashtable. How do I fetch them correctly so parameters get passed right ?

if (Session["ptRepParams"] != null) { Hashtable repParams = (Hashtable)Session["ptRepParams"]; foreach (string param in repParams.Keys) { rptDoc.SetParameterValue(param, repParams[param].ToString()); } }


...

Go to the complete details ...