Banner Ad

Monday, January 27, 2014

Daily Interview Questions #4: What is the difference between Abstract Method and Virtual Method?

By Francis   Posted at   1:29 PM   OOPS interview Questions No comments

Abstract Method:

Abstract method specified by “abstract” keyword.

An abstract method contains no definition. Derived class must implement the abstract methods.

Object cannot be created for abstract class. That is abstract class can not be instantiated.

Virtual Method:

Virtual method specified by “virtual” keyword.

Used to implement “Run-Time” polymorphism.

Derived classes not forced to implement the “Virtual” methods that is available in Base class.

The process of redefine the virtual method in a derived class called as “Method Overridding”.

Friday, January 24, 2014

Daily Interview Question #3: What are the MEPs available in WCF?

By Francis   Posted at   11:12 PM   ASP.Net Interview Questions No comments
              MEP is the short form for Message Exchange Pattern. In Windows communication foundation, 3 types of Message exchange patterns are allowed. They are:

Thursday, January 23, 2014

Daily Interview Question#2 : What are the events will be fired when the “gridview.DataBind()” method called?

By Francis   Posted at   11:34 AM   ASP.Net Interview Questions No comments

When the Gridview.DataBind() method called, below events are fired in the following order:

  1. Databinding
  2. RowCreated  (Called for Each row)
  3. RowDatabound (called for each row)
  4. DataBound

Wednesday, January 22, 2014

Daily Interview Question #1 : What is Abstract Class?

By Francis   Posted at   10:49 AM   ASP.Net Interview Questions No comments

 

An abstract class is like a class with some future. That is:

i. It contains at least one or more abstract method(s).

ii. It will always act as a base class.

iii. It cannot be instantiated. That is not possible to create instance for that class.

Grid View : Binding Dropdown inside a Gridview

By Francis   Posted at   9:15 AM   Gridview Sample No comments
In this gridview tutorial, I’m going to explain how to bind a drop down list with in a gridview. The drop down list located inside gridview in a “Template” Column. Paste the below code in an aspx page.

Connect with Us