@jmeckley: Using your method I can do this and it works fine. Can you by any chance please help me use Linq doing exact samething as below
var variableHeaders = data.Tables[0].AsEnumerable()
.Select(row => row["RelevantPeriod"].ToString())
.Distinct()...
this does help me a bit. But I dont have new created columns.
var found = pivot.Select("[fixed_column_1]=" + row["the_fixed_column"]).FirstOrDefault();
fails as my pivot table is empty.
so how will i have my all columns..
I have a grid in dataset as following
UserPatientStatusID RelevantPeriod TotalCount ProviderSpecialtyServiceName
a OUT November2008 1 Not Available
a ER September2008 1986 Not Available
a ER April2009 1837 Not Available
a ER...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.