Invoking Delegate

  • Thread starter Thread starter Yama
  • Start date Start date
Y

Yama

Hi,

I created a window apps using a Delegate as follow:

Dim dlg As New loadDelegate(AddressOf loadAsync)

Form1.BeginInvoke(dlg, New Object() {Name, dataSource, dataMember})



How to transloate this to a webform?

The following will not work:

Dim dlg As New loadDelegate(AddressOf loadAsync)

WebForm1.BeginInvoke(dlg, New Object() {Name, dataSource, dataMember})



Thank you,



Yama
 
Back
Top