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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Anurag SarkarRank #1,049 · 1.8K reputationPosted Apr 12, 2014, 12:23 AM EDT
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.
ranjan sahooRank #5,709 · 289 reputationPosted Apr 12, 2014, 12:52 AM EDT
Munesh SharmaRank #174 · 13.9K reputationPosted Apr 12, 2014, 2:42 AM EDT