A
Al
hi , I am creating a form in asp.net and in the form, I
crateed a couple of buttons, when I call a function I get
the following error :
Method 'Public Sub (function name) does not have the same
signature as delegate ' Delegate Sub EventHandler(sender
as object, e as system.eventArgs)'
I figured out that I must put the following at my funcion
sub calcualte_int(source as object, e as EventArgs)
.. process
end sub
what if I want to pass a value to the above function, do I
add input parameter like this
sub calcualte_int(source as object, e as EventArgs , intID
as integer)
.. process
end sub
Thanks for your help. and sorry if this is a silly
question, I am new to asp.net though
Al
crateed a couple of buttons, when I call a function I get
the following error :
Method 'Public Sub (function name) does not have the same
signature as delegate ' Delegate Sub EventHandler(sender
as object, e as system.eventArgs)'
I figured out that I must put the following at my funcion
sub calcualte_int(source as object, e as EventArgs)
.. process
end sub
what if I want to pass a value to the above function, do I
add input parameter like this
sub calcualte_int(source as object, e as EventArgs , intID
as integer)
.. process
end sub
Thanks for your help. and sorry if this is a silly
question, I am new to asp.net though
Al