Y
Yangtsi River
Hi,
in any event procudure,there is two paras:sender As Object, e As EventArgs,
i copied them-not know what they are about, and my ASPX works.
I guess the sender is the control by which I triggered this sub, and what is
EventArgs then?
I am passing a third para to the sub, that is mysub("jim",sender As Object,
e As EventArgs),
the sub is defined like :
mysub(ByVal Nickname as string,sender As Object, e As EventArgs)
if nickname="jim" then
sdfsdfsd
end if
end sub
but when I call mysub("jim",sender As Object, e As EventArgs),, it said I
provided nothing about eventargs.
when I call mysub("jim"), it doesn't work too.
THe sub is a event sub, triggered by a clicking a button.
Can any one give me a hit ?
Thanx
Yangtsi River
in any event procudure,there is two paras:sender As Object, e As EventArgs,
i copied them-not know what they are about, and my ASPX works.
I guess the sender is the control by which I triggered this sub, and what is
EventArgs then?
I am passing a third para to the sub, that is mysub("jim",sender As Object,
e As EventArgs),
the sub is defined like :
mysub(ByVal Nickname as string,sender As Object, e As EventArgs)
if nickname="jim" then
sdfsdfsd
end if
end sub
but when I call mysub("jim",sender As Object, e As EventArgs),, it said I
provided nothing about eventargs.
when I call mysub("jim"), it doesn't work too.
THe sub is a event sub, triggered by a clicking a button.
Can any one give me a hit ?
Thanx
Yangtsi River