I
Ilyas
Hi all
I have the following code
NorthwindDataContext nw = new NorthwindDataContext();
string orderByFieldName = "ProductName";
var data1 = (from p in nw.Products orderby
orderByFieldName select p);
This obviouslay doesnt work, what am I doing wrong. I want the ability
to sort on a column name - how can I do this?
I have the following code
NorthwindDataContext nw = new NorthwindDataContext();
string orderByFieldName = "ProductName";
var data1 = (from p in nw.Products orderby
orderByFieldName select p);
This obviouslay doesnt work, what am I doing wrong. I want the ability
to sort on a column name - how can I do this?