Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

linq query select top 1 c#

imageName = (from soh in db.tblProductImages
             where soh.product_id == e.ProductId
             select soh.image_name).FirstOrDefault()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #linq #query #select #top
ADD COMMENT
Topic
Name
6+4 =