T
TisMe
Hi All,
Does anyone know of a way to count the number of columnns in a
Linq2SQL result? (In this case ISingleResult).
I am building a method to get summary report data. I want to be able
to add a column to my stored procedure at some point, without amending
the clientside code where the data is displayed in a gridview,
populated from a datatable - I want to define the columns in the
datatable dynamically, looping X number of columns in the LINQ result.
Hope that makes sense!
Thanks.
Does anyone know of a way to count the number of columnns in a
Linq2SQL result? (In this case ISingleResult).
I am building a method to get summary report data. I want to be able
to add a column to my stored procedure at some point, without amending
the clientside code where the data is displayed in a gridview,
populated from a datatable - I want to define the columns in the
datatable dynamically, looping X number of columns in the LINQ result.
Hope that makes sense!
Thanks.