Can anyone Please tell me how to specify the particular column in the select statement given below:
var combinedrows = from dt1 in DsResults.Tables[0].AsEnumerab
Well, it's not really clear what you want, but something like this, perhaps?
var combinedRows = from dt1 in DsResults.Tables[0].AsEnumerable()
join dt2 in DsResults.Tables[1].AsEnumerable()
on dt1.Field("MethodName")
equals dt2.Field("MethodName")
select new { MethodName = dt1.Field("MethodName"),
Foo = dt2.Field("Foo"),
Bar = dt1.Field("Bar") };