Microsoft
Software
Hardware
Network
Question : Why am I getting this compile error?
my aspx page
EnableViewState="False" Text="Email event notices to registered attendees"
ValidationGroup="EventRegA
ttendee" Width="269px" OnClick="EmailRegAttendeeN
otices()"/
>
--------------------------
----------
----------
----------
----------
----------
----------
my aspx inline code
--------------------------
--
==========================
==========
==========
======
Compile error?
==========================
==========
==========
=========
Error 20 Argument not specified for parameter 'e' of 'Protected Sub EmailRegAttendeeNotices(se
nder As Object, e As System.EventArgs)'. C:\Documents and Settings\Dennis West\Local Settings\Temp\VWDWebCache\
cmaanorcal
events.com
\DesktopMo
dules\i2In
tegration - Events\user\Register.ascx 100
Error 22 Argument not specified for parameter 'e' of 'Protected Sub EmailRegAttendeeNotices(se
nder As Object, e As System.EventArgs)'. C:\Documents and Settings\Dennis West\Local Settings\Temp\VWDWebCache\
cmaanorcal
events.com
\DesktopMo
dules\i2In
tegration - Events\user\Register.ascx 100
Error 21 Argument not specified for parameter 'sender' of 'Protected Sub EmailRegAttendeeNotices(se
nder As Object, e As System.EventArgs)'. C:\Documents and Settings\Dennis West\Local Settings\Temp\VWDWebCache\
cmaanorcal
events.com
\DesktopMo
dules\i2In
tegration - Events\user\Register.ascx 100
Error 23 Argument not specified for parameter 'sender' of 'Protected Sub EmailRegAttendeeNotices(se
nder As Object, e As System.EventArgs)'. C:\Documents and Settings\Dennis West\Local Settings\Temp\VWDWebCache\
cmaanorcal
events.com
\DesktopMo
dules\i2In
tegration - Events\user\Register.ascx 100
==========================
==========
==========
==========
=
Answer : Why am I getting this compile error?
you should add Handles btn.click I guess
Protected Sub EmailRegAttendeeNotices_Cl
ick(ByVal sender As Object, ByVal e As EventArgs)
-->
Protected Sub EmailRegAttendeeNotices_Cl
ick(ByVal sender As Object, ByVal e As EventArgs) handles Button1.click
Random Solutions
Accidentally removed all users from Server 2008
Duplicating a record in an MS Access Database
Index fragmentation
Jet-SQL REPLACE bug?
word 2003, the password is forgotten, how open the document
File extentions
How to forward all https request by using one isp line
Resubmitting with correct file attached!: How to Hyperlink Column of UPS Tracking Numbers in Excel to UPS Webpage
How to seperate parts of a line using FOR and FINDSTR
outlook 2003 archiving and roaming users exchange 2003