Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is a Web Form?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Can someone explain to me what a form,a web form to be more precise,is?
Does it represent an app,or interface of app,is it an object?
How do controls relate to this form?Do you make them to be members of a form(if it's a class)..

Thank you for you help.Bye
 
With the introduction of the .NET they have seperated the page (form) from the code. When talking about Win Forms you are talking about application that run on a windows based form, while when talking about Web Forms you are referring to the Web Page with the code behind. besides this first distinction, the controls are also affected from it haveing two separate classes:

System.Windows.Forms and System.Web.WebControls

See the Web form as an application, but it would be better to call it ASP.NET application =)

hth
 
So when I add a WEB FORM to project in VS.net and a Designer page opens in let's say FlowLayout mode,than that Designer page represents Form and this form represents a Web Page,but not code behind that page?
Thank you for answering me.Bye
 
when you insert a web form in your project, you are inserting a .aspx file and a .aspx.cs or .aspx.vb depending which language you are using.
The page opens in design mode therefore you are viewing the Web Page. You can switch to view code, that will bring you to the code behind file.

hth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top