Toggle navigation
About
Contact US
Tech
Games
Action
Another action
Something else here
Separated link
Hover me for more options
Second level
Even More..
3rd level
3rd level
Second level
Second level
Submit
Diwakar's Blog
http://diwakarko.blogspot.com (दिवाकरको ब्लग)
FirstOrDefault Value by Linq
dsofcom
6:50 PM
No comments
model = from b in db.books.Take(6).ToList()
where b.writerId==id
select b;
var wtrName = model.FirstOrDefault().writer.WriterName;
ViewBag.title = "Book List of Writer : " + wtrName;
Share on Google +
Share on facebook
Share on twitter
Share on Linkedin
Newer Post
Older Post
No comments :
Post a Comment
Subscribe to:
Post Comments ( Atom )
Recent Posts
Blog Archive
►
2023
(1)
►
July
(1)
►
2019
(1)
►
September
(1)
►
2017
(2)
►
November
(1)
►
September
(1)
►
2016
(2)
►
October
(1)
►
March
(1)
►
2015
(2)
►
December
(1)
►
November
(1)
►
2014
(8)
►
July
(1)
►
June
(7)
▼
2013
(30)
►
September
(1)
►
August
(4)
▼
July
(9)
Stopping CSRF Attacks in PHP
Use Selectors in jQuery
FirstOrDefault Value by Linq
Display All Images from Directory
Combo Box, Drop Down List in MVC using Entity Fram...
Using Entity Framework
MVC Complete Add/Edit/Delete/Details Controller wi...
Installation of EntityFramework 6.0.0-beta1
Scaffold (programming)
►
June
(16)
Subscribe
Sponserd
No comments :
Post a Comment