how to pass byte[] to web service

Aug 3 2015 7:51 AM
hii..
Can anybody tell me that, how to implement following method in class file... 
 
 
[WebMethod]
public bool clientInsert(string clientname, string clientadd, DateTime clientbirthdate, DateTime anniversarydate, string phoneno, string mobileno, string emailid, string gender,byte[] photo, int userid, bool isactive)
{
client cl = new client(-1, clientname, clientadd, Convert.ToDateTime(clientbirthdate), Convert.ToDateTime(anniversarydate), phoneno, mobileno, emailid, gender,photo, userid, isactive);
a = cl.Insert();
return a;
}

Answers (1)