Aspdotnetsiva
menu
Home
-----
Asp.net
------
Sqlserver
------
Ajax
------
Android
------
Html
------
Oops concepts
------
Questions
------
Wednesday, 7 November 2012
how to find min salary in asp.net using linq
min():
var query = dc.Emps.Min(p => p.Salary);
Label5.Text = query.ToString();
lambada expression min():
// var query = (from myemp in dc.Emps select (myemp.Salary)).Min();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment