ASP.NET 2.0: Learning the Basics, Part III

Page Load Event Page Load event is fired when the page is loaded and accessed for the first time and when it is loaded in response to a client postback.  But if you need to initialize variables or want something to happen only once during the first load of the page, you can use the …

Continue reading ASP.NET 2.0: Learning the Basics, Part III

Advertisements

ASP.NET 2.0: Learning the Basics, Part II

Validation Controls You also have the ability to put some validation onto your controls using some of the available validation controls. RequiredFieldValidator will check if the control you assigned to it (ControlToValidate) has a value.  Other properties you can set are Text, and ErrorMessage.  Text is displayed when no value is entered for the control …

Continue reading ASP.NET 2.0: Learning the Basics, Part II

SQL Server 2005: Understanding decimal, numeric, float, and real data types

Since I came from a VB background, I get confused when I encounter these data types in SQL Server.  In VB if I need to use a variable that can hold a number with digits to the right of the decimal point, I declare the variable as single or double.  In SQL Server, you have …

Continue reading SQL Server 2005: Understanding decimal, numeric, float, and real data types