Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 30th, 2005, 06:57 PM
Authorized User
 
Join Date: Jun 2005
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default "Sender As Object, E As EventArgs)

What does the bold part mean?
Sub Update(sender As Object, e As EventArgs)

End Sub


thanks!

 
Old July 1st, 2005, 01:07 AM
Friend of Wrox
Points: 4,332, Level: 27
Points: 4,332, Level: 27 Points: 4,332, Level: 27 Points: 4,332, Level: 27
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

sender is the object that raised the event, e are the event arguments for the particular event.

 
Old July 7th, 2005, 12:57 AM
Registered User
 
Join Date: Jun 2005
Location: banglore, karnataka, India.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi!!!

thar two words are completely describing about the calling env,and called env,

that is "sender As Object" means which control(Objectin the words of oops) has raised this event.

"e are the event arguments " Means what are the arguments that particular event has taken,those arguments are passed from the Object(Control) to the Event.

 
Old July 7th, 2005, 08:34 AM
Friend of Wrox
Points: 4,332, Level: 27
Points: 4,332, Level: 27 Points: 4,332, Level: 27 Points: 4,332, Level: 27
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Is this not what I have already stated?





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to solve the binding for sender? alexcym Visual Basic 2005 Basics 2 April 7th, 2008 03:27 PM
Ch 17 - Sender Object not working? deanC4 BOOK: Beginning ASP.NET 2.0 and Databases 1 April 18th, 2007 01:25 PM
EventArgs with Text/Value properties bmains General .NET 1 August 2nd, 2005 05:34 AM
sender as object... whyulil ASP.NET 1.0 and 1.1 Basics 3 August 22nd, 2004 11:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.