G
Guest
I am trying to figure out how to display the sum total of a numeric column in
the footer of a datagrid. I have tried putting a label control in the footer
of a column but for some reason when I try to reference the label control
using:
txtTotalDollars.Text = ttlDollars.ToString();
I get an error saying that the label control txtTotalDollars does not exist.
Note that when I place the label outside of the footer it works fine.
Any ideas?
Thanks, Justin.
the footer of a datagrid. I have tried putting a label control in the footer
of a column but for some reason when I try to reference the label control
using:
txtTotalDollars.Text = ttlDollars.ToString();
I get an error saying that the label control txtTotalDollars does not exist.
Note that when I place the label outside of the footer it works fine.
Any ideas?
Thanks, Justin.