Basic c# Webpage with Multiview

AshTV

Well-Known Member
Joined
Jun 27, 2011
Messages
357
Reaction score
1
Location
Durban
Hey. i would like to know how i could implement a multiview control in a basic c# webform. i have the following items on my webform.

textboxes

txtnum1
txtnum2

button

btnprocess

label

lbldisplay

i want to be able to click on the button and then view the answer via a multiveiw control.

i have coded the above via the source code in c# using Microsoft Visual Studio 2012.
and on the webfrom behind the button i have coded the following:

double num1 = Convert.ToDouble(txtnum1);
double num2 = Convert.ToDouble(txtnum2);
double ans;

lbldisplay.text = ans.ToString();


//
thank you. :)
 
Top
Sign up to the MyBroadband newsletter
X