Understanding Code Behind in .Net Framework

Written by Balaji


Continued from page 1

But before you create an ASP.NET Code Behind class, you have to reference it to a namespace. The namespace could be System.Web.UI or` System.Web.UI.WebControls. Next you have to inheritrepparttar class fromrepparttar 133445 Page object. You must declare some public instances of server controls usingrepparttar 133446 name forrepparttar 133447 variables that are similar torepparttar 133448 web controls. This procedure will create a link betweenrepparttar 133449 ASP.NET Code Behind class andrepparttar 133450 server controls.

You can userepparttar 133451 ASP.NET Code Behind feature in various web applications development tools such as Visual Studio.Net and ASP.NET Web Matrix. They provide very easy ways to userepparttar 133452 ASP.NET Code Behind. After dragging and droppingrepparttar 133453 server control fromrepparttar 133454 Toolbox torepparttar 133455 web page you can just right click on it to viewrepparttar 133456 ASP.NET Code Behind page.

To access online version ofrepparttar 133457 above article, go to http://www.dotnet-guide.com/codebehind.html

Visit http://www.dotnet-guide.com for a complete introduction to .NET framework. Learn about ASP.NET, VB.NET, C# and other related technologies.


Understanding Common Type System in .Net Framework

Written by Balaji


Continued from page 1

There are two general types of categories in .Net Framework that Common Type System support. They are value types and reference types. Value types contain data and are user-defined or built-in. they are placed in a stack or in order in a structure. Reference types store a reference ofrepparttar value’s memory address. They are allocated in a heap structure. You can determinerepparttar 133444 type of a reference byrepparttar 133445 values of self-describing types. Reference types can be categorized into self-describing types, pointer types, or interface types.

There are many other types that can be defined under Value types and Reference types. In .Net Framework,repparttar 133446 System namespace isrepparttar 133447 root for allrepparttar 133448 data types. This namespace consists of classes such as Object, Byte, String, and Int32 that represents base data types. These base data types are used by all applications. During runtime a type name can be classified into two:repparttar 133449 assembly name andrepparttar 133450 type’s name withinrepparttar 133451 assembly. The runtime in .Net Framework uses assemblies to find and load types.

To access online version ofrepparttar 133452 above article, go to http://www.dotnet-guide.com/commontype.html

Visit http://www.dotnet-guide.com for a complete introduction to .NET framework. Learn about ASP.NET, VB.NET, C# and other related technologies.


    <Back to Page 1
 
ImproveHomeLife.com © 2005
Terms of Use