How do we change this set of code from vb.net to asp.net?
As this set of code is currently used in window form.In website form it said this set of code is not a member of 'Main'(website) .
Thanks
If Me.txtMessage.I nvokeRequired Then
Dim d As SetTextCallback = New SetTextCallback (AddressOf Me.SetStatusTex t)
Me.Invoke(d, New Object() {text})
Else
Me.txtMessage.T ext = text
End If
As this set of code is currently used in window form.In website form it said this set of code is not a member of 'Main'(website) .
Thanks
If Me.txtMessage.I nvokeRequired Then
Dim d As SetTextCallback = New SetTextCallback (AddressOf Me.SetStatusTex t)
Me.Invoke(d, New Object() {text})
Else
Me.txtMessage.T ext = text
End If
Comment