1
Answer

How to pass list as arguement to WCF

Suresh M

Suresh M

10y
783
1
hi friends 
i have to pass list as arguement to WCF  
my code:
  
public string sendData(String details)
{
List<string>Students=new List<string>(); 
Students.Add("Name1");
Students.Add("Name2");
return insert(Students); ///error in this part show cannot poss list as arguement
 
my WCF service is
 
public string insert(List<string> details)
{
..........
............ 
 

Answers (1)