invoke delegate with parameters

Download Ping Example Code (10kb)

The following is a simple code to invoke a delegate with parameter. I created this to update label control on the form asynchronously. I did not quite work I was hoping for but the code does pass parameter to the delegate

Passing Parameters to MySQL Stored Procedure

MySQL Stored Procedure parameter does not take @ sign. The variables are declared using identifier name (without the @sign). In some editors like PHPMYADMIn, you might declare a variable with @ sign and may not get any error but your code will not work correctly. To fix this issue, simply remove @sign.

This also leads to an interesting scenario. If your parameter name is same as one of your table field, you will have to use alias to different the two. For example

My variable name is ID, but that is also the field inside my student table. To fix the issue, use this syntax


Passing Parameters to SQL Stored Procedure