Skip to main content
3 events
when toggle format what by license comment
Mar 25, 2020 at 14:59 comment added Navin Pandit Above code may not work bcs. dt.Rows has not implemented 'AsEnumerable'. This can be corrected as below: emp = (from DataRow row in dt.AsEnumerable() select new Employee { _FirstName = row["FirstName"].ToString(), _LastName = row["Last_Name"].ToString() }).ToList();
Dec 15, 2011 at 19:11 history edited musefan CC BY-SA 3.0
deleted 84 characters in body
Dec 15, 2011 at 18:44 history answered darshan pandya CC BY-SA 3.0