hiiiiii i have some problem for finding last record from table. using linq to sql ?
How to get last record from table in LINQ to SQL using C# language. please give the solution.
THANX.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Munesh SharmaPosted Apr 12, 2014, 6:42 AM
ranjan sahooPosted Apr 12, 2014, 4:52 AM
Anurag SarkarPosted Apr 12, 2014, 4:23 AM
SELECT LAST(column_name) FROM table_name
In LINQ you can try this link
http://pranayamr.blogspot.in/2012/05/get-last-n-records-using-linq-to-sql.html
Thanks.