ASP.NET 2.0 Question:
Download Questions PDF

What is IPostBack? How to use it?

Answer:

Gets a value indicating whether the page is being loaded in response to a client postback, or if it is being loaded and accessed for the first time.
Property Value

true if the page is being loaded in response to a client postback; otherwise, false.

void Page_Load() {
if (!IsPostBack) {
// Validate initially to force asterisks
// to appear before the first roundtrip.
Validate();
}
}

Download ASP.NET 2.0 Interview Questions And Answers PDF

Previous QuestionNext Question
How to create a DB connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed.
if question not clear,let me know.
What is server infrastructure & Server components?