i'm trying to get an error description according to error Id:
String errorDesc = from resultCodesTableRow in resultCodesDT.AsEnumerable()
where resultCodesTableRow.Field<int>("Error_Code_Column_Name") == errorCode
select resultCodesTableRow.Field<string>("Error_Desc_Column_Name").ToString();
why do i get the error:
"Cannot implicitly convert type 'System.Data.EnumerableRowCollection' to 'string'" ?
how does the query supposed to look ?