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.2k
Making my textbox dynamically...
Nov 22 2014 11:28 AM
Hi!
I wrote theses codes to make a sum Datagrid column and showing the total in a textbox.
Its works smootly. But its doesnt work dynamically. The total happear in time when I close and reopen it. Then how can I make this total showing dynamically on time.
Please have a look on my codes:
private void Bill_Activated(object sender, EventArgs e)
{
int sum = 0;
for (int i = 0; i < dataGridView2.Rows.Count; ++i)
{
sum += Convert.ToInt32(dataGridView2.Rows[i].Cells[9].Value);
totalbill.Text = " " + sum.ToString();
}
Reply
Answers (
10
)
Two dates for my reportviewer
MS Release management data release to multiple databases