public static void SetValue(string dictionaryName, string key, string value) { if (!String.IsNullOrEmpty(key)) { if (HttpContext.Current.Session[dictionaryName] != null) { Dictionary<string, string> form = (Dictionary<string, string>)HttpContext.Current.Session[dictionaryName]; if (form.ContainsKey(key)) { form[key] = value; } } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)