Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. decimal sum = 0;
  2. foreach(System.Web.UI.WebControls.TextBox c in this.Controls)
  3. {
  4.  
  5. sum += Convert.ToDecimal(c.Text);
  6.  
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement