Entire new release of developers―both these accustomed to .NET and people utilizing different technologies―looking for authoritative info on .NET 2.0 and its services and alterations. This publication has been created to allure on to the widest attainable market

Extra info for Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional

Example text

And you can test web applications just as easily as any other application type, because Visual Studio has a built-in web server that works just for debugging. IntelliSense: Visual Studio provides statement completion for recognized objects and automatically lists information such as function parameters in helpful tooltips. NET FRAMEWORK You don’t need to use Visual Studio to create web applications. NET web pages and web services. However, in doing so you’ll multiply your work, and you’ll have a much harder time debugging, organizing, and maintaining your code.

NET class library. Table 2-1 lists these core data types. Table 2-1. Common Data Types Class Library Name VB Name C# Name Contains Byte Byte byte An integer from 0 to 255. Int16 Short short An integer from –32,768 to 32,767. Int32 Integer int An integer from –2,147,483,648 to 2,147,483,647. 2e18. 4e38. 8e308. Decimal Decimal decimal A 128-bit fixed-point fractional number that supports up to 28 significant digits. Char Char char A single 16-bit Unicode character. String String string A variable-length series of Unicode characters.

NET class library. Variable Operations You can use all the standard types of variable operations in VB. When working with numbers, you can use various math symbols, as listed in Table 2-2. Table 2-2. 5 % Gets the remainder left after integer division 7%3 1 VB follows the conventional order of operations, performing exponentiation first, followed by multiplication and division and then addition and subtraction. You can also control order by grouping subexpressions with parentheses. Dim Number As Integer Number = 4 + 2 * 3 ' Number will be 10.