Problem Adding a new country

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

Hi,

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");
            col.Add("Pakistan");
        }

Any clue?

Coordinator
May 19, 2009 at 1: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).