C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,298 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am joining a datatable and List<string> but getting error that source contaisn no datarow. here is my code. please tell me what mistake i have made for which i am getting error. both list<string> and datatable has data.
var result = (from bkr in ds.Tables[2].AsEnumerable()
join prd in Listofperiods
on bkr.Field<string>("StandardDate") equals prd.ToString()
where string.IsNullOrEmpty(bkr.Field<string>("StandardValue"))
select bkr).CopyToDataTable();