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
siva nathan
950
828
233k
how to count column values in c#.net
Apr 11 2017 8:27 AM
how to count column values in c#.net
i have a table called temp,in that table i have a records like below
empid
name
dept
1
2
3
4
5
1
a
C
X
WH
/
X
X
2
b
C
X
WH
X
/
/
3
c
C
X
WH
/
/
X
how to achieve this task in C#.net
my expected result is
empid
empid
name
dept
1
2
3
4
5
total X
total /
1
a
c
x
wh
/
x
x
3
1
2
b
c
x
wh
x
/
/
2
2
3
c
c
x
wh
/
/
x
2
2
Reply
Answers (
1
)
How to learn the logic
How Convert TextBox Value in integer?