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
Norris Chappell
NA
5
727
Trying to sum several fields into a total field
Jun 17 2015 11:46 AM
Requirement
Year
Qtr. 1
Internal Process
Internal Project
External BSI
External CMMI
CMMI CAM SG 1
2015
7
4
1
0
2
I am trying to sum several fields into one.
This code is giving me an error that these 4 fields do not exist in the current context.
protected void gvInternalAudit_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
Label Qtr1 = (Label)e.Row.FindControl("lblQtr1");
int lblQtr1 = int.Parse(Q1IntProc.Text) + int.Parse(Q1IntProj.Text) + int.Parse(Q1ExtBSI.Text) + int.Parse(Q1ExtCMMI.Text);
Qtr1.Text = Qtr1.ToString();
}
}
Reply
Answers (
4
)
convert string length into binary number
Google Analytics API in .NET