/// <summary> /// Get enum values /// </summary> public bool LoadPostData(string key, NameValueCollection posted) { if (posted[key] != string.Empty) { string[] selected = posted[key].Split(','); _selected = 0; //_selected; for (int x = 0; x < selected.Length; x++) { // combine bits _selected = _selected.AddBits(int.Parse(selected[x])); } } return(false); }