Go back and break your code for example change the variable


1. Create a new page called Week3Debug.aspx. Add a label control with ID set to results. 

  • In the code view, create a program that has a function named doCount which will count to ten and return the last value at the end of the counting. 
  • In the page load event handler, create a variable named myresult.
  • Assign the value of myresult to the returned value from the doThis function.
  • Set the label text property to the a message which says ""Your result was 10 
    End Program. 

2. Go back and break your code. For example, change the variable or label names to something different. Or change the formula or values passed to the function call. You may break the code how you like. Try different ways to break the code. 

3. In your posting, pick one of the errors you found most challenging. Copy the code in your post that produced the error. Describe why you think it was the most challenging. Describe how you would identify and fix your error. Show the code (or screen shots) of what the problem was, error messages in the browser or error messages in the Output window in Visual Studio and the code to fix the error. 

Solution Preview :

Prepared by a verified Expert
Macroeconomics: Go back and break your code for example change the variable
Reference No:- TGS01674711

Now Priced at $15 (50% Discount)

Recommended (99%)

Rated (4.3/5)