Posted on: 7/28/2014 1:11:34 PM | Views : 372

I have a Dictionary and it is of First Names. The first names starts with "M" and I liked a title of the M's names. I like "FirstName .Add("", "M");" to be bolded if possible, and the user can't choose the title 'M'. This dictionary will be the data source to a dropdownlist.

private Dictionary<string, string> Names() { Dictionary<string, string> FirstName = new Dictionary<string, string>(); FirstName .Add("", "M"); FirstName .Add("01", "Mary"); FirstName .Add("02", "Meemee"); FirstName .Add("03", "Mark"); return FirstName; }

Go to the complete details ...