public struct Attendance
{
public int siteId { get; set; }
public string siteName { get; set; }
public string Remarks { get; set; }
public string Result { get; set; }
};
public List<Attendance> InsertAttendanceDetails(string SessionId, List<object> attendance)
{
List<Attendance> lrv = new List<Attendance>();
SqlCommand cmd = new SqlCommand();
SqlHelper dbHelper = new SqlHelper(connectionString);
ReturnValues rv = new ReturnValues();
if (SessionId != null)
{
foreach (Attendance att in attendance)
{
}
}
return lrv;
}
i am unable to read this List passing as parameter to my web method and want to get values from this List. Object can be class and List coming in XML format from android application