hi,sir
how to calculate a sum which get the data from a set of textboxes in asp.net page? can write in code behind c#?
Can assign the textbox value to a variable then calculate the sum at code behind them show the answer to the asp.net page? or is it have to write javascript to perform those action? how to do this? Waiting for your reply. Thank you
Hi meiyi,
Please find the example here
display the c value in Label
int a=convert.toint32(textbox1.text); int b=convert.toint32(textbox2.text); int c= a+b;
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.