var total = 0;
total += 150;
<form id="form1" runat="server">
<input id="Button1" type="button" value="button" />
<asp:Button ID="btn_saveForm" runat="server" Text="ثبت فرم" CssClass="btnForm" OnClick="btn_saveForm_Click" />
<asp:Label ID="lbl_TotalCount" Style="color: #00e4ff; font-family: Arial; font-weight: bold;
text-decoration: underline" runat="server" Text="0">
<asp:HiddenField ID="MyHidden" runat="server" />
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
protected void btn_saveForm_Click(object sender, EventArgs e)
TextBox1.Text = MyHidden.Value;
Hope this helps!
by: Raghav Khunger
What kind of email newsletter would you prefer to receive from CodeAsp.Net?