TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
eliza sahoo
NA
41
0
DataTable Compute Method
Feb 26 2010 8:17 AM
Compute is one of the methods of DataTable class. This method computes an expression on the current rows that pass the filter criteria.
Syntax
Object DataTable.Compute(
string expression , string filter
)
Expression
- The expression to compute.
Filter
- The filter to limit the rows that evaluate in the expression.
This method's return type is
System.Object
. So, you have to cast it with appropriate data type.
The following operations can be passed through as expression parameter.
Sum -> Sum
Average -> Avg
Minimum -> Min
Maximum -> Max
Count -> Count
Statistical standard deviation ->StDev
Statistical variance -> Var
Eliza
Reply
Answers (
1
)
Paging in MVC Archicture?
Edit Functionality in MVC Archicture.