Log in

Previous Entry | Next Entry

Below are some important .NET interview questions which was asked to one of the readers.

1) What is object pooling? (Could you Please give me some example of it  )

Creating and destroyingan object is resource intensive task. So once you create the object  rather than putting it for garbage collection you keep it in memory. So that you save time and resource for creating the object. Now if any request comes for those objects they are pulled straight from the memory rather than recreating it.

One example is of database connection pooling. In the connection string you can provide the pool size

3) Could you please elaborate the events which fired in a gridview with some example?

RowCreated - occurs when each row (including header, footer, and pager) is created. This happens when the control is data bound as well as when it is reconstructed from viewstate on postback.

RowDataBound - Occurs, as the name suggests, when each item is data bound. Again, this happens for data rows as well as header, footer and pager.

RowDeleted - Occurs on a postback triggered by a control meeting the requirements of a delete command for a data item row. This is usually a button with the CommandName of "Delete".

RowCommand - Occurs on a postback triggered by a button in a gridview

.NET  interview question References for further reading:-

You can refer this comprehensive.NET interview question book  published by BPB publications.

13 important ADO.NET interview questions.

Copy right www.questpond.com

Buy 600+ Real Time Interview Videos

Call +91-22-66752917 or mail us on questpond@questpond.com for more details on C#, .NET, ASP.NET, SQL Server interview question videos.

SQL Server interview question videos

Latest Month

March 2017


Powered by LiveJournal.com