Ask a Question related to ASP.NET General, Design and Development.
-
Kathy Burke #1
What does (ByVal sender As System.Object, ByVal e As System.EventArgs) mean?
I just don't get what the () after the sub name does...kind of stupid
question, but it would be nice to understand it. Thanks.
Kathy
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Kathy Burke Guest
-
Object of type 'System.String' cannot be converted to type 'System
I'm trying to get a control from metabuilders.com dual list)to work under ASP.NET 2.0. It worked find under 1.1 and then when i migrated my... -
VBScript: What is default function parm type - ByVal or ByRef?
I know this should be a no-brainer, but I am seeing odd results in my ASP VBScript function calls with the passed parameters. In VBScript, is the... -
Why are sender and object used as in sender As System.Object, ByVal e As System.EventArgs?
Why specifically are sender and object used? I could use dfs as Object and l as Evenat args. Some books show s instead of sender. Just wondering why... -
How to set default to TRUE: Overrides Function OnBubbleEvent(ByVal source As Object, ByVal args As EventArgs) As Boolean?
Hello, how can I set the default value to TRUE of Overrides Function OnBubbleEvent(ByVal source As Object, ByVal args As EventArgs) As Boolean ?... -
Lsass.exe System error "object name not found". System keeps rebooting
When trying to install the drivers for the PCI modem in my laptop, prompted for the driver CD. Installed the driver without any errors but asked... -
Jerry III #2
Re: What does (ByVal sender As System.Object, ByVal e As System.EventArgs) mean?
It's a parameter declaration...
Jerry
"Kathy Burke" <kathyburke40@attbi.com> wrote in message
news:eopFIV9VDHA.1872@TK2MSFTNGP12.phx.gbl...> I just don't get what the () after the sub name does...kind of stupid
> question, but it would be nice to understand it. Thanks.
>
> Kathy
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
Jerry III Guest
-
Kevin Spencer #3
Re: What does (ByVal sender As System.Object, ByVal e As System.EventArgs) mean?
Everything in between the parentheses is parameters. Parameters are values
that are passed to a function or subroutine, from the code that called the
subroutine. As the code you mentioned is an Event Handler, the parameters
are passed by the object which raised the Event.
Is that what you were asking?
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
[url]http://www.takempis.com[/url]
Complex things are made up of
lots of simple things.
"Kathy Burke" <kathyburke40@attbi.com> wrote in message
news:eopFIV9VDHA.1872@TK2MSFTNGP12.phx.gbl...> I just don't get what the () after the sub name does...kind of stupid
> question, but it would be nice to understand it. Thanks.
>
> Kathy
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
Kevin Spencer Guest
-
Sheikh #4
Re: What does (ByVal sender As System.Object, ByVal e As System.EventArgs) mean?
sir the problem is why do we need these parameters in Click Event.
please explain sender parameter and e parameter and what is the basic function of both of them.Sheikh Guest



Reply With Quote

