Webform1.aspx front desk

xiaoxiao2021-03-06  62

webform1.aspx front <% @ Register TagPrefix = "uc1" TagName = "WebUserControl1" Src = "WebUserControl1.ascx"%> - -------------------------------------------------- --------- WebForm1.aspx Background Public WebuserControl1 WebuserControl1; WebUserControl1.Word = "Hello"; WebUserControl1.Repeat (50);

============================================================================================================================================================================================================= ============================= Did not report the error, but the page display is the instance of the report that is not set to the object. Description: Execute an unprocessed exception during the current web request. Check the stack tracking information to learn more about the error and the code caused in the code.

Abnormal Details: System.NullReferenceException: The object is not set to an instance of an object.

Source error:

Row 22: {Row 23: / / Place the user code here to initialize the page row 24: WebUserControl1.repeat (50); line 25:} line 26:

转载请注明原文地址:https://www.9cbs.com/read-89294.html

New Post(0)