Series: Subject: Topic:
Question: 143 of 648

ASP.NET - Addition of two numbers

For that I created two text boxes tbNum1 and tbNum2 and a button btnAdd. So Question is I have to create one class ,and in this class I have to declare properties for getting values. and in button_Click event I have to access the property value and assign the result to another text box. I can use property only not methods. how to do this. pls explain with codes
Asked by: Interview Candidate | Asked on: Nov 1st, 2007
Showing Answers 1 - 2 of 2 Answers

You could do that by passing parameters.For example if u have got two numbers 1 and 2 now u need to pass that values by parameter to that class where u do the arithmatic operation and from that class u need to get the reult and that has to be dispalyed.            I should be always you to code first and if any problem arises then u could consult any one u can't get spoon feeding in a software development.If you dont do on your own then you will not be able to learn.

Login to rate this answer.

Answered On : Jul 19th, 2011


Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions



twitter fb Linkedin GPlus RSS


Interview Question

 Ask Interview Question?


Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.