0

有什么方法可以UpdatePanel1.Update()从内部执行Shared Sub吗?

它得到一个错误:Cannot refer to an instance member of a class from within a shared sub ..

<WebMethod()> _
Public Shared Sub DoSomeStuff(ByVal Param1 As String)

    // do some stuff and then update the updatepanel
    UpdatePanel1.Update() // not a valid code


End Sub

任何建议都非常感谢。

4

0 回答 0