web form model
Hai everyone. I am new to this forum. Can anyone explain me about web form model
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Steve HawksPosted Dec 26, 2015, 8:01 AM
ASP.NET provides two models for managing the visual elements and code — the single-file page model and the code-behind page model. The two models function the same, and you can use the same controls and code for both models.
This topic explains how each model functions and provides suggestions for when to choose one model or the other.
The following code example shows a single-file page containing a Web Forms Button server control and a Label server control. The highlighted portion shows the Click event handler for the Button control inside a script block.
Within that method, you provide the logic for retrieving the data. In the next tutorial, you will set values for UpdateMethod, DeleteMethod and InsertMethod.