In LINQ TO SQL if it is possible to select the top 5 records from the particular table using select top 5.
Answer Posted / imatoria
(from t in context.tableName
select t).Take(5)
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Can you explain scriptmanager control?
What is .net mobile images control. : Microsoft dot net mobile
Explain different pipelining hazards? : Dot net architecture
Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?
how to create applications by using Visual Studio 2012?
What are the five stages in a dlx pipeline? : Dot net architecture
What is boxing and unboxing? Does it occure automaatically or you need to write code to box and unbox?
Define an interrupt? : Dot net architecture
What are the different pipelining hazards? : Dot net architecture
what is the difference between master page and content page?
What is the importance of updatepanel control?
What is the .net class that allows the retrieval of a data element using a unique key?
Explain is development of a mobile web application with asp.net is very easy? : Microsoft dot net mobile
Explain How to improve the cache performance? : Dot net architecture
Explain the use of virtual, sealed, override, and abstract.