i want to return List<DictionaryClass<string,string>> from web service but getting error for IDictio

Posted by girish on Stack Overflow See other posts from Stack Overflow or by girish
Published on 2010-05-11T08:48:32Z Indexed on 2010/05/11 8:54 UTC
Read the original article Hit count: 331

Filed under:
  [WebMethod]
    public List<DictionaryClass<string,string>> GetDataByModuleDictionary(string ModuleName)
    {

        return BAL_GeneralService.GetDataByModuleDictionary(ModuleName);
    }

here i m getting the following error...

    The type DictionaryClass`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] is not supported because it implements IDictionary. 

© Stack Overflow or respective owner

Related posts about ASP.NET