.net - Select method, changes default ordering of DataTable -


when convert datatable ienumerable using select method, default ordering sp changed! option can set prevent this?

var list = datatable.select(); 

i got it! instead of

datatable.select(); 

i should use

datatable.asenumerable(); 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -