Suresh M

Suresh M

  • 119
  • 15.9k
  • 11.3m

How to pass list as arguement to WCF

Jun 27 2014 6:10 AM
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)