how to get second record in linq to sql -
I have an Exchange Rate table, I need to get the current rate and the previous rate and then compare the results
I can get the first record using FirstOrd Defaults.
When I use ElementAut default, the error shows "Question operator 'elementateoff defaults' is not supported". How can I get another record?
You can try this:
var query = data .Skip (1). (1) Take;
Comments
Post a Comment