public void readAsyn(int rowid)
AsyncReadDelegate dlgt = new AsyncReadDelegate(read);
IAsyncResult ar = dlgt.BeginInvoke(rowid, new AsyncCallback(CallbackReadAsyn),dlgt);
static void CallbackReadAsyn(IAsyncResult ar)
AsyncReadDelegate dlgt = (AsyncReadDelegate)ar.AsyncState;
int result = dlgt.EndInvoke(ar);
Does anyone know how I can access the rowid attribute in CallbackReadAsyn()?
The delegate represents the read operation which takes in an int, called rowid.
Surely u can access the attributes in the delegate like the original operation?
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.