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
Mfwamba Tshimanga
NA
155
46.1k
How to count the NULL or balnk line of column
Feb 6 2015 8:23 AM
Hi!
I write these code to filter some data. Then on the 11th column there the value "1" to make counter and show it on this value"
lblAusenteTotal.Text
".
What I need to learn?
How can I make it to counter
blank
or
NULL
line of the 11th column.
int sum = 0;
for (int i = 0; i < dvgDatas.Rows.Count; ++i)
{
sum += Convert.ToInt32(
dvgDatas
.Rows[i].Cells[11].Value);
lblResult.Text = " " + sum.ToString();
Reply
Answers (
4
)
Updating from a label inserting sql query
Need to count my row...