In LINQ TO SQL if it is possible to select the top 5 records from the particular table using select top 5.



In LINQ TO SQL if it is possible to select the top 5 records from the particular table using select ..

Answer / imatoria

(from t in context.tableName
select t).Take(5)

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More Dot Net AllOther Interview Questions

Explain dotnet framework ?

0 Answers  


Explain the purpose of cache? How is it used? : Dot net architecture

0 Answers  


what is the shortcut key for toolbox and add existing item?

1 Answers   Six Sigma,


Whate are resource files? How are they used in .net?

0 Answers  


define cache memory? : Dot net architecture

0 Answers  






How many types of languages does .net support? name at least 10-15?

12 Answers   Interac, Six Sigma, TechUnity,


Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?

0 Answers  


Differnce between managed code and unmanaged code ?

0 Answers  


What is IL code, CLR, CTS, GAC & GC?

0 Answers   MindCracker,


can u give me real example of how web.config overrides the machine.config file?

0 Answers  


what is a tool tip

2 Answers   Six Sigma,


How Web service create Proxy Using WSDL?

1 Answers  


Categories