0
[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.
다른 형식으로 신분을 변환하고 해당 개체를 반환 할 수 있습니다 ... – girish
아마 당신은 데이터 테이블로 변환하고 datatables의 목록을 반환 할 수 있습니다. 아마 IXmlSerializable 구현만큼 많은 작업이 될 것입니다. LINQ를 사용하여 다른 것으로 변환 해 볼 수도 있지만 변환 할 수있는 것은 생각할 수 없습니다. –