I have an Excel sheet , I need to fetch two columns values - I have written a Linq query -
Error:
contextSwitchDeadLock was detected error at line
Query:
select new { Description = typeDescription.Description ,
VehicleKey = typeDescription.VehicleKey });
how can i fix this error - i want to fetch two coulmns value from the same Excel sheet , from a single linq Query.
I think its due to null values
try like this.
select new { Description = Convert.ToString(typeDescription.Description) ,
VehicleKey = Convert.ToString(typeDescription.VehicleKey) });
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加