GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 147 of 164    Print  
What is the difference between EVENTS and FUNCTIONS?

  
Total Answers and Comments: 2 Last Update: September 15, 2009     Asked by: Pradeep garg 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 29, 2007 01:57:30   #1  
BhavanaLalitha Member Since: November 2007   Contribution: 1    

RE: What is the difference between EVENTS and FUNCTIONS?
Event represents an action that is done to an object whereas Function represents an action that the object itself is doing.
 
Is this answer useful? Yes | No
September 15, 2009 10:43:00   #2  
Samrat Raha Member Since: September 2009   Contribution: 2    

RE: What is the difference between EVENTS and FUNCTIONS?
Event- An event is a message sent by a control to notify the occurrence of an action.


Function- A Function is written to be used by the objects. A functions always return a value.

 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : we can use the ExecuteNonQuery to perform catalog operations (Insert,Delete,Update) ExecuteNonQuery does not return any rows, any output parameters or return values mapped to parameters are populated with data. executeQuery() is for command objects ...

Latest Answer : ExecuteReader expects to run a query command or a stored procedure that selects records. It expects to have one or more resultsets to return. cmd.Connection.Open(); SqlDataReader dr = cmd.ExecuteReader(); // process ...

Latest Answer : Datagid is a control which is used to display the attribute data at client side.Datareader is a object which is mainly used to store the data executed query data. ...

Latest Answer : Assemblies?Assemblies contains code that the common language runtime executes,An assembly is the unit at which permissions are requested and grantedIt also stores the information about itself called metadata and includes name and verison of the assembly ...

What are different properties provided by Object-oriented systems ? Can you explain different properties of Object Oriented Systems? Whats difference between Association , Aggregation and Inheritance relationships?
Read Answers (1) | Asked by : sanker

Latest Answer : The MACHINE.config file contains default and machnine-specific values for all supported setting. Machine setting are normally controlled by the system admin, and app should never be given write access to it.An application can override most default values ...

How can we associate a single codebehind file with two aspx pages.eg. We have two files First.aspx and Second.aspx and we have cs files codebehind.cs in which we want to write code for both files. Then how we will execute this cs file for both of the aspx file\'s events.

What is the difference between Session and Cookies. Can we use both in the same webpage. when we should go for cookies.. What are the advantages and disadvantages of both.. Plz send me code also..Thanks in advance..Ravi
Read Answers (2) | Asked by : aspnet

1. What is the core difference between ASP and ASP.NET and why do you want to migrate from asp to asp.net2. What is the diff b/w HTML server Controls and Web Server Controls3. How sessions are handled in ASP Vs ASP.NET4. How versions are controlled in ASP Vs ASP.NET5. Explain the concurrency problems using DATASETS6. what is XSD and XSLT. what is XML and what are the types of XML7. What are web services
Read Answers (3) | Asked by : mak1600

Latest Answer :  ASP.NET Web Services.NET RemotingProtocol Can be accessed only over HTTPCan be accessed over any protocol (including TCP, HTTP, SMTP and so on)State Management Web services work in a stateless environmentProvide support for both stateful and stateless ...


 Sponsored Links

 
Related Articles

Microsoft AJAX Library - Anonymous Functions

Anonymous Functions Anonymous functions can be created adhoc and used instead of a named function Although this can hinder readability when the function is more complex you can do this if you don t intend to reuse a function s code In the following example we pass such an anonymous function to Displ
 

Microsoft AJAX Library - Functions as Variables

Functions as Variables In JavaScript functions are first class objects This means that a function is regarded as a data type whose values can be saved in local variables passed as parameters and so on For example when defining a function you can assign it to a variable and then call the function thr
 

Microsoft AJAX Library - JavaScript Functions

JavaScript Functions A simple fact that was highlighted in the previous chapter but that is often overlooked is key to understanding how objects in JavaScript work code that doesn t belong to a function is executed when it s read by the JavaScript interpreter while code that belongs to a function is
 

ERPAdvantages for Management Functions

ERP Advantages for Management Functions ERP management systems provide a technology platform in which organizations can integrate and coordinate their main internal business processes They use this to fight against the problem of the organizational inefficiency brought on by the use of different sys
 

C++ Static Functions

C Static Functions Static member functions have a class scope and they do not have access to the this pointer of the class When a member is declared as static a static member of class it has only one data for the entire class even though there are many objects created for the class The main usage of
 

C++ Virtual Functions

C Virtual Functions What are Virtual Functions Virtual as the name implies is something that exists in effect but not in reality The concept of virtual function is the same as a function but it does not really exist although it appears in needed places in a program The object oriented programming la
 

C++ Inline Functions

C Inline Functions In this C tutorial you will learn about Inline function what is inline function reason for the need of inline function what happens when an inline function is written general format of inline function explained with example mosgoogle center What is Inline Function Inline functions
 

String handling functions

What is the string handling functions present in header file <string.h>? There are number of string handling functions present in string.h. In other words if a programmer uses any of the function present in string.h then they must include the header file as #include <string.h&am
 

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

SQL Functions

SQL Programming Overview In the article SQL Programming, we discussed creating the “Hello, World!” function in PostgreSQL, MySQL, and Oracle. In this article, we take “Hello, World!” one step farther and introduce the parts of a function and how to pass parame
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape