This project is read-only.

Problem Adding a new country

May 19, 2009 at 2:22 AM
Edited May 19, 2009 at 2:23 AM


I'm trying to add another country and I updated the CommentView.ascx.cs file with the following code but I still don't see Pakistan listed in the dropdown list


   if (!dic.ContainsValue("pk"))
            dic.Add("Pakistan", "pk");

Any clue?

May 19, 2009 at 2:48 AM

I'm pretty sure Pakistan is already in the list.  That code you posted will add Pakistan if it's not already in the list.  It looks like Pakistan is listed as "Islamic Republic of Pakistan" (at least on my computer, it shows up this way).