Question : Using a delegate to report back to an object

In Programming in C#, Building .NET Applications, page 264, I read that "Delegates are also used as calbacks so that one class can say to another "do this work and when you're done, let me know."

Please show me a simple code example of how to do this, if it's not too difficult.


Tanks,
newbieweb

Answer : Using a delegate to report back to an object

One more thing. Add the resultset number (1,2,...) to each cfprocresult variable

    <cfstoredproc procedure="pr_get_LoggedUser_Info" datasource="#Application.CDP_DSN#">
        <cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" value="#rsCF_Client_ID.CID#" null="No">
        <cfprocresult name="rsCF_Client" resultset="1">
      <cfprocresult name="rsCF_Client2" resultset="2">
    </cfstoredproc>
Random Solutions  
 
programming4us programming4us