Migrating from ASP to ASP.NET

Size: px
Start display at page:

Download "Migrating from ASP to ASP.NET"

Transcription

1

2 Migrating from ASP to ASP.NET Leveraging ASP.NET Server Controls Dan Wahlin Wahlin Consulting LLC Summary: Converting ASP web applications to ASP.NET can prove to be a timeconsuming process unless you re armed with a few tips and techniques to get you started in the right direction. This paper will introduce you to different types of ASP.NET server controls and explain how they can be used. The topics presented in this paper are targeted toward programmers with existing VBScript and ASP application development experience. Topics covered include: Introduction Why Move to ASP.NET? Language Differences Introducing ASP.NET Server Controls HTML Controls Web Server Controls Validation Controls Conclusion Changing from one technology to another is a time-consuming and often frustrating process that typically involves learning new language syntax, new ways of performing common programming tasks, and even different ways of thinking. However, with all of the cons associated with a technology shift, moving to a new technology can actually have many pros and turn out to be quite rewarding in the long run. Moving from Active Server Pages (ASP) to ASP.NET doesn t have to be a frustrating or intimidating process as long as you re armed with a few tips and code samples that help lower the learning curve. It s true that there is a lot to learn when moving to Microsoft s.net platform, enough that one paper (or even one book) can t possibly cover everything involved. However, by focusing on common scenarios that you face on a daily basis, the.net learning curve can be minimized, resulting in a more fun and efficient learning environment. As you get more and more proficient at creating ASP.NET applications, you ll see that the time you put into learning the technology is definitely worthwhile. The goal of this paper is to arm you with different code conversion examples and explain how ASP.NET server controls can reduce bugs and minimize the amount of code you write. Before showing any sample code, let s take a quick look at why jumping into the world of ASP.NET is well worth the effort and a few of the ways ASP.NET differs from ASP.

3 Why Move to ASP.NET? ASP provides a robust development environment that makes it quick and easy to integrate dynamic data into web applications. With this in mind, you may be wondering why Microsoft replaced ASP with ASP.NET. After all, why replace something that works quite well and is extremely popular worldwide? While ASP has many strengths, it also has its own set of weaknesses. ASP.NET builds upon ASP s strengths, overcomes its weaknesses, and adds numerous features and capabilities that provide you with even more power as a web developer. Table 1 provides a high-level comparison of the two technologies. Table 1. Comparing ASP with ASP.NET. ASP ASP.NET Code Execution Interpreted code Compiled code Security Security controlled by operating system, through custom code, or through COM objects Integrated support for Code Access Security (CAS), operating system specific security, forms authentication, role management, Passport, cryptography, and more Languages Scripted languages such as VBScript or JScript Object-oriented languages such as VB.NET and C# (plus over 20 others) Caching Support None Built-in page, user control, State Management Application state and inprocess Session state and data caching support Session data can be stored: In-process On a dedicated state server In SQL Server Support for Application state, Caching, and ViewState Data Access ADO ADO.NET Deployment Copy ASP files, use RegSvr32.exe to register COM objects XCopy deployment Component Support Little built-in support for HTML components Built-in support for numerous web controls, Datagrids, calendars, and more File Extensions.asp.aspx Code Separation None HTML code can be physically separated from programming code using code-behind pages

4 While the items in Table 1 are by no means a complete listing of the differences between ASP and ASP.NET, the comparisons highlight some of the major differences and set the stage for concepts you ll be introduced to later in the paper. Language Differences In addition to differences found between ASP and ASP.NET, there are also differences in the languages that can be used with the two development environments. ASP relies upon interpreted scripts written in languages such as VBScript. ASP.NET, on the other hand, doesn t support scripted languages. Instead, ASP.NET pages must be written using code that can compiled into a special.net language, referred to as Microsoft Intermediate Language (or MSIL). While this paper won t focus on language syntax or Object- Oriented Programming (OOP) techniques, it is in your best interest to begin researching these topics since they are important in the world of.net. When migrating to ASP.NET, developers coming from a VBScript or VB background will find that VB.NET is the logical language choice. Developers used to working with C, C++, or Java will likely move to C#. Since all.net languages are interoperable (C# programs can talk with VB.NET or even Cobol.NET programs), you should choose the language you are most comfortable using since speed and performance between languages isn t an issue in the.net platform. Once you learn one.net language, it is rather straightforward to learn another. Since many ASP developers use VBScript, the ASP.NET code samples that follow are written using VB.NET. The code download associated with this paper also includes C# code (my personal preference). Introducing ASP.NET Server Controls As you re undoubtedly aware, ASP relies upon HTML tags such as the <input> or <select> tags to capture end user input. When wrapped in a <form> tag, data can be posted back to the server for collection and accessed using VBScript code similar to the following: <% Dim fname fname = Request.Form( txtfirstname ) %> Listing 1 shows a portion of an ASP page that contains several different HTML input tags. If you ve worked with HTML, much the code will look very familiar.

5 Listing 1. ASP relies upon standard HTML tags to capture form data entered by an end user. Accessing the values entered into the HTML tags is accomplished by using the ASP Request collection on the server side. <form method="post" action="insertcustomer.asp"> <table width="640"> <td width="130"><b>name:</b> <td><input type="text" name="txtname" id="txtname" /> <td width="130"><b>company:</b> <td><input type="text" name="txtcompany" id="txtcompany" /> <td width="130"><b>title:</b> <td><input type="text" name="txttitle" id="txttitle" /> <!-- Code omitted for brevity --> <td colspan="2"> <input type="button" id="btnsubmit" name="btnsubmit" value="submit" onclick="validateform(this.form);" /> </table> </form> While the HTML form tags shown in Listing 1 can also be used in ASP.NET applications and accessed through a built-in Request object on the server side in much the same manner as ASP, a more efficient and less error-prone way of capturing form data is now available. By employing new functionality found in ASP.NET, you can minimize the amount of code you have to write to perform tasks such as generating tables filled with data, filling drop-down lists, or even capturing submitted form data. You can also minimize the number of pages required to display and collect data. ASP.NET web forms post back to themselves, resulting in less complex applications since the form display and data collection activities are handled by one page. ASP.NET introduces several built-in server controls referred to as HTML Controls, Web Server Controls, and Validation Controls. These controls are simply mini software programs written by Microsoft that can be used (with little effort on your part) to generate HTML code that is sent to the browser and to validate user input. The controls greatly simplify the process of accessing form data on the server side and can be used to automatically create calendars, data grids, form controls (textboxes, buttons, etc.), ad rotators, bulleted lists, and much more. The next few sections will focus on HTML Controls, Web Server Controls, and Validation Controls.

6 HTML Controls HTML Controls mirror functionality found in standard HTML tags but allow data to be collected on the server side without resorting to the Request collection. HTML Controls are very lightweight and therefore have a small footprint on the server. Upgrading an existing ASP page to use ASP.NET HTML controls is as simple as adding a runat= server attribute to different form tags. To use HTML Controls in an ASP.NET page, simply add them to a page saved with an.aspx file extension and then look at the page in any browser. An example of creating three HTML Controls is shown in Listing 2. Listing 2. ASP.NET has several different built-in server controls that can be leveraged to automatically generate HTML. The code shown below contains three different HTML Controls. Each control has the runat= server attribute applied to it. <form runat="server"> <b>name:</b> <input type="text" id="txttitle" runat="server"> <p> <input type="button" id="btnsubmit" value="submit" OnServerClick="btnSubmit_ServerClick" runat="server"> <br> <span id="lbloutput" runat="server" /> </form> Looking at the code syntax in Listing 2, you ll see the addition of the runat attribute with a value set to server on the different HTML Control tags. By adding this special attribute, the controls can easily be accessed on the server side by referencing the control s id. For example, to get the value of the textbox control (named txttitle) after the form is submitted, the following VB.NET code can be used: Dim title as String = txttitle.value Notice that the fname variable has a declared data type of String and that it is created and assigned to using a single line of code. This is different from VBScript, where variables must be declared and assigned to separate code lines. VBScript also treats variables as Variants, whereas VB.NET (and all.net languages) require that a specific data type be applied when a variable is defined. When a form is submitted, the values of ASP.NET HTML Controls are normally accessed by relying upon special sections of code referred to as event handlers. For example, when a button is clicked within an ASP.NET web form, a notification that the button was clicked is created on the server side, letting your program know what action occurred. These notifications are called events. By using events and event handlers, it s very easy to detect which button is selected in cases where a form may have more than one button, such as Insert, Update, Delete, or Cancel buttons. Although a complete discussion of events and event handlers is beyond the scope of this paper, let s take a quick look at how the button shown earlier in Listing 2 can be hooked up to an event handler so that you know when the button is clicked and can act

7 upon it. First, an event handler subroutine must be written that can be notified once the button has been clicked and the form is submitted to the server. Next, the button must be hooked up to the event handler subroutine. When the button is clicked, the code within the event handler will be executed on the server side. Listing 3 contains a VB.NET event handler for the btnsubmit button. This subroutine accepts two parameters, including the control causing the code to be called (the button, in this example) as well as a generic event argument, which isn t of any use in this particular situation. Listing 3. HTML Controls can be associated with event handlers that are called when the end user initiates specific actions, such as clicking a button. Event handlers such as btnsubmit_serverclick are called on the server side once a form is submitted. They can be placed within a script block that has the runat= server attribute or in a separate page referred to as a code-behind page. <script runat="server"> This event handler will be called when the button is clicked. The routine executes on the server side rather than on the client side. Public Sub btnsubmit_serverclick(byval sender as Object, _ ByVal e as EventArgs) lbloutput.innertext = "You submitted: " + txttitle.value End Sub </script> Once the subroutine (named btnsubmit_serverclick) is called, it handles writing the value entered into the txttitle textbox to the span control named lbloutput. This is accomplished by calling the textbox HTML Control s Value property and assigning it to the span control s InnerText property. More details about the different properties found on HTML Controls can be found in the.net Software Developer s Kit (SDK) documentation installed with.net. If you take a look back at Listing 2, you ll notice that no <%= code %> syntax must be embedded into the ASP.NET page in order to update the span control. The event handler updates the span control directly using VB.NET code. This is a big change from ASP that makes your code much more readable and less likely to turn into spaghetti code. This change also means that you don t have to rely on Response.Write statements to write HTML content back to the browser. The code shown in Listing 3 can only be called on the server side if the btnsubmit button click is somehow hooked to the btnsubmit_serverclick event handler as the form is submitted to the server. One way to hook the button to the event handler is to add

8 the OnServerClick attribute to the button as shown below (additional ways exist as well, including the use of special function pointers called delegates): <input type="button" id="btnsubmit" value="submit" OnServerClick="btnSubmit_ServerClick" runat="server"> The OnServerClick attribute defines the name of the subroutine that will be called when the form is posted to the server after the button is clicked. By adding this attribute, the ASP.NET runtime will automatically parse the incoming control values, identify that the button was clicked, and cause the event handler code to be called. You can see that all of this work is done with very little effort on your part. Going this route avoids tedious Select Case statements typically used in ASP to detect when different buttons are clicked in order to execute specific code. Although not directly related to HTML Controls, another advantage ASP.NET offers is compiled code. All of the VB.NET code shown to this point must be compiled to run properly on the server (either automatically compiled by ASP.NET, using Visual Studio.NET, or by using a command-line compiler name vbc.exe). As a result, the compiler can check the syntax and let you know of any errors at compile time. When using the older ASP Request.Form ( txttitle ) syntax, no code validity checks can be performed until run-time since the HTML tag name is in quotes. This means there is no way to know if the txttitle name is mistyped until you run the ASP page. With ASP.NET, many errors can be caught early on before you ever try testing the web form in the browser. Web Server Controls While HTML controls offer a great way to access data on the server side, ASP.NET also supports a more robust set of controls, referred to as Web Server Controls. Web Server Controls follow the overall object design patterns found in the.net platform and offer a richer feature set than HTML Controls. These controls are special pieces of code Microsoft has written that are designed to output HTML code that can be sent from the server to the browser. You can use Server Controls without worrying about browser type since they are always executed on the web server and generate regular HTML. Web Server controls are prefixed with an asp namespace prefix to differentiate them from standard HTML tags. Aside from the asp namespace prefix, Web Server Controls are used by defining the type of the control and the id for the control, and by adding the runat attribute. Listing 4 shows several different ASP.NET server controls that replace the standard HTML tags shown earlier in Listing 1.

9 Listing 4. ASP.NET has built-in Server Controls that provide a powerful way to access data, expose events, plus much more. The code shown here demonstrates using the Textbox and Button Server controls. <form runat="server"> <table height="249" width="640"> <td width="130"><b>user ID:</b> <td> <asp:textbox id="txtcustomerid" runat="server" /> <td width="130"><b>name:</b> <td> <asp:textbox id="txtname" runat="server" /> <td width="130"><b>company:</b> <td> <asp:textbox id="txtcompany" runat="server" /> <td colspan="2"> <asp:button id="btnsubmit" runat="server" text="submit" /> </table> </form> As with HTML Controls, Web Server Controls such as the button can cause event handlers to be called on the server side when they are clicked by the end user and the form is posted back. However, the OnClick attribute is used rather than the OnServerClick attribute. Although an onclick attribute is often applied to standard HTML tags to cause JavaScript functions to be called, the OnClick attribute discussed here is specific to Web Server Controls. The sample code that accompanies this article contains an event handler for the Button server control shown in Listing 4, which accesses the textbox data and updates a SQL Server database using ADO.NET.

10 The TextBox control shown in Listing 4 can be used to create standard textboxes, password textboxes, or text areas. To change between the different types, the TextMode attribute can be added to the control as shown below: Regular Textbox: <asp:textbox id="txttitle" runat="server" /> Password Textbox: <asp:textbox id="txtpassword" TextMode="Password" runat="server" /> TextArea: <asp:textbox id="txtcomments" TextMode="MultiLine" Rows="10" Columns="60" runat="server" /> Values entered into the different types of textboxes can be accessed on the server once a form is submitted through the TextBox s Text property: Dim title as String = txttitle.text Dim password as String = txtpassword.text Dim comments as String = txtcomments.text It s very important to remember that the browser only sees the HTML code generated by the Web Server Controls. If you execute an ASP.NET page and view the HTML source sent to the browser, you will never see the <asp:controlname /> syntax, since the controls are always executed on the server and simply output standard HTML. Many other types of Web Server Controls exist, including: Calendar Ad Rotator DataGrid DataList Repeater Panel Button DropDownList RadioButtonList CheckBoxList Many more! Listing 5 shows how to use the ASP.NET Calendar Web Server Control to create a fully functional calendar. Figure 1 shows the result that is generated when the calendar control executes on the server and outputs HTML to the browser. Listing 5. The Calendar control is capable of generating fully functioning calendars with minimal effort on your part. <html> <body bgcolor="#ffffff"> <h2>asp.net Calendar Control</h2> <form runat="server"> <asp:calendar id="calmonths" runat="server" /> </form> </body> </html>

11 Figure 1. The ASP.NET Calendar control makes generating calendars a snap. Although not shown, events, meetings, and other data can be added to the calendar without writing a lot of code. Another Web Server Control named Panel allows portions of a page to be turned on and off by changing the control s Visible property as data is sent from the server to the browser. For example, the following ASP.NET and HTML code can be used to define two panels: <asp:panel id= pnlstart runat= Server Visible= true > <!-- Form fields go here --> </asp:panel> <asp:panel id= pnlend runat= Server Visible= false > <!-- After form is submitted pnlstart will be hidden (using code) and this panel will be shown --> </asp:panel> The pnlstart Panel will be shown when the page first loads. Once the user submits the form, pnlstart s Visible property will be set to false and pnlend s Visible property will be set to true. The results of the form submission can then be displayed without requiring multiple pages or a lot of conditional logic, as is often the case in ASP pages that require this functionality.

12 Although we ve only scratched the surface when it comes to Web Server Controls, you can see the power they can provide to your ASP.NET web applications. With only a minimal amount of code, you can generate robust output that the end user can respond to and interact with. More details about other data-centric server controls such as the DataGrid will follow in a future paper covering the topic of migrating from ADO to ADO.NET. Validation Controls To this point, you ve seen that ASP.NET HTML and Web Server Controls are both designed to output HTML that can be viewed in the browser. While these controls can save you a lot of time, they don t necessarily prevent the end user from entering bad data. Data validation is normally handled by you as the developer. ASP applications require that all validation code (both client side and server side) be written by the developer. As an example, JavaScript can be written to check that all required fields in a form have data in them (see Listing 6). Although the code shown in Listing 6 is quite simple, validation routines can get much more complex depending upon the type of validation being performed. Listing 6. JavaScript code allows user input to be validated on the client side. This code demonstrates the validation of several HTML form elements. <script language="javascript"> function ValidateForm(form) { if (form.elements["txtname"].value == "") { alert("please enter your name."); return; } if (form.elements["txtcompany"].value == "") { alert("please enter your city."); return; } if (form.elements["txttitle"].value == "") { alert("please enter your title."); return; } } </script> document.forms[0].submit(); Although custom JavaScript can still be written to validate form data in ASP.NET, new Validation Controls are now available that perform the bulk of data validation for you without writing any JavaScript code. By using validation controls, you can ensure that

13 required fields contain data, validate dates, ranges, patterns, and more. Several different types of Validation Controls exist, including: CompareValidator Used to compare two fields (ex: password 1 and password 2) or to ensure valid dates or numbers are entered. CustomValidator Used along with custom JavaScript code to validate data. RangeValidator Used to validate numeric or character ranges. RegularExpressionValidator Used to match field values with patterns ( addresses, URLs, etc.). Pattern matching is performed using regular expressions. RequiredFieldValidator Used to ensure that required fields contain data. ValidationSummary Used to group all validation errors into one location, making it easier for the end user to know what is wrong. Rather than writing the JavaScript code shown earlier in Listing 6, Validation Controls can be added into the ASP.NET web form to automatically perform the validation without writing any JavaScript code. Listing 7 demonstrates how this is done. Notice that like Web Server Controls, Validation Controls are prefixed with the asp namespace prefix. Validation Controls allow you to specify which control to validate through the ControlToValidate property. They also allow you to control the error message that is emitted when validation fails through the ErrorMessage property.

14 Listing 7. ASP.NET Validation Controls simplify the process of validating end user input. This code demonstrates how to use the RequiredFieldValidator and ValidationSummary controls. <form method="post" runat="server" id="form1"> <asp:panel id="pnlform" runat="server"> <h2>customer Information</h2> <table height="249" width="640"> <td width="130"><b>name:</b> <td> <asp:textbox id="txtname" runat="server" /> <asp:requiredfieldvalidator id="requiredfieldvalidator1" runat="server" errormessage="please enter your name." controltovalidate="txtname">*</asp:requiredfieldvalidator> <td width="130"><b>company:</b> <td> <asp:textbox id="txtcompany" runat="server" /> <asp:requiredfieldvalidator id="requiredfieldvalidator2" runat="server" errormessage="please enter your company." controltovalidate="txtcompany">*</asp:requiredfieldvalidator> <td width="130"><b>title:</b> <td> <asp:textbox id="txttitle" runat="server"></asp:textbox> <asp:requiredfieldvalidator id="requiredfieldvalidator3" runat="server" errormessage="please enter your job title." controltovalidate="txttitle">*</asp:requiredfieldvalidator> <td colspan="2"> <asp:validationsummary id="validationsummary1" runat="server" displaymode="list" /><br> <asp:button id="btnsubmit" runat="server" text="submit" /> </table> </asp:panel><asp:panel id="pnlmessage" runat="server"> <h2><asp:label id="lbloutput" runat="server" /></h2> </asp:panel> </form> Figure 2 shows the output generated by the ValidationSummary control when the end user doesn t enter data correctly into the form. Notice that an error indicator shows up next to each form field that is incorrect, and all error messages are displayed in a central location on the page.

15 Figure 2. Validation Controls make it easy to alert the user about data errors through using either Dynamic HTML (DHTML) or alert boxes. This figure shows how errors are automatically grouped together using the ValidationSummary control. In addition to validating form data on the client side, Validation Controls also validate data on the server side. This prevents an end user from stripping out JavaScript code to

16 bypass the validation checks. An example of using VB.NET code to ensure that data is valid once it is posted to the server is shown below. btnsubmit click event handler Private Sub btnsubmit_click(byval sender As System.Object, _ ByVal e As System.EventArgs) Handles btnsubmit.click Page.Validate() If (Page.IsValid) Then Data is valid so perform necessary validation End If End Sub This event handler code will be called after the user clicks the button and posts the form data back to the server. Checking whether or not the form data is valid based upon Validation Controls added into the form is accomplished by calling the Page object s Validate() method and IsValid property. The Page object provides baseline functionality for ASP.NET web pages, and although it won t be discussed here, you ll find several details in the.net SDK documentation. Conclusion ASP.NET offers a lot of new functionality previously not available in ASP, such as HTML Controls, Web Server Controls, and Validation Controls. By learning how these controls work, you can greatly minimize the amount of code you write to perform different activities in a web application and reduce bugs. You can also more easily ensure that data submitted by an end user is valid before updating a database or performing another activity. While this paper has introduced you to the fundamentals of server controls, there is still a lot more that can be learned about them. It is recommended that you first walk through the sample code provided with this paper in order to master the fundamentals. Once you ve done that, you ll be better prepared to move into more advanced aspects of server controls and ASP.NET, which will make it easier to migrate existing ASP applications to the.net platform.

dnrtv! featuring Peter Blum

dnrtv! featuring Peter Blum dnrtv! featuring Peter Blum Overview Hello, I am Peter Blum. My expertise is in how users try to use web controls for data entry and what challenges they face. Being a developer of third party controls,

More information

Validation Server Controls

Validation Server Controls Validation Server Controls Definition: Validation is a set of rules that you apply to the data you collect. A Validation server control is used to validate the data of an input control. If the data does

More information

.Net Interview Questions

.Net Interview Questions .Net Interview Questions 1.What is.net? NET is an integral part of many applications running on Windows and provides common functionality for those applications to run. This download is for people who

More information

Saikat Banerjee Page 1

Saikat Banerjee Page 1 1.What is.net? NET is an integral part of many applications running on Windows and provides common functionality for those applications to run. This download is for people who need.net to run an application

More information

Validations. Today You Will Learn. Understanding Validation The Validation Controls. CSE 409 Advanced Internet Technology

Validations. Today You Will Learn. Understanding Validation The Validation Controls. CSE 409 Advanced Internet Technology Validations Today You Will Learn Understanding Validation CSE 409 Advanced Internet Technology Understanding Validation What s particularly daunting is the range of possible mistakes that users can make.

More information

INTRODUCTION & IMPLEMENTATION OF ASP.NET

INTRODUCTION & IMPLEMENTATION OF ASP.NET INTRODUCTION & IMPLEMENTATION OF ASP.NET CONTENTS I. Introduction to ASP.NET 1. Difference between ASP and ASP.NET 2. Introduction to IIS 3. What is Web Application? Why is it used? II. Implementation

More information

Introduction to.net Framework

Introduction to.net Framework Introduction to.net Framework .NET What Is It? Software platform Language neutral In other words:.net is not a language (Runtime and a library for writing and executing written programs in any compliant

More information

CST272 Getting Started Page 1

CST272 Getting Started Page 1 CST272 Getting Started Page 1 1 2 3 4 5 6 8 Introduction to ASP.NET, Visual Studio and C# CST272 ASP.NET Static and Dynamic Web Applications Static Web pages Created with HTML controls renders exactly

More information

Introduction to.net Framework Week 1. Tahir Nawaz

Introduction to.net Framework Week 1. Tahir Nawaz Introduction to.net Framework Week 1 Tahir Nawaz .NET What Is It? Software platform Language neutral In other words:.net is not a language (Runtime and a library for writing and executing written programs

More information

Chapter 9. Web Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 9. Web Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 9 Web Applications McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Chapter Objectives - 1 Explain the functions of the server and the client in Web programming Create a Web

More information

Web Forms ASP.NET. 2/12/2018 EC512 - Prof. Skinner 1

Web Forms ASP.NET. 2/12/2018 EC512 - Prof. Skinner 1 Web Forms ASP.NET 2/12/2018 EC512 - Prof. Skinner 1 Active Server Pages (.asp) Used before ASP.NET and may still be in use. Merges the HTML with scripting on the server. Easier than CGI. Performance is

More information

Unit-4. Topic-1 ASP.NET VALIDATION CONTROLS:-

Unit-4. Topic-1 ASP.NET VALIDATION CONTROLS:- Unit-4 Topic-1 ASP.NET VALIDATION CONTROLS:- ASP.Net validation controls validate the user input data to ensure that useless, unauthenticated or contradictory data don.t get stored. ASP.Net provides the

More information

(IT. Validation Controls ASP.NET.

(IT. Validation Controls ASP.NET. (IT Validation Controls ASPNET Email-nabil299@gmailcom PostBack Client-Side PostBack (JScript ) Client-Side Server-Side Validation JScript ASPNET Validation controls ToolBox Validation tab Validation controls

More information

Chapter. Web Applications

Chapter. Web Applications Chapter Web Applications 144 Essential Visual Basic.NET fast Introduction Earlier versions of Visual Basic were excellent for creating applications which ran on a Windows PC, but increasingly there is

More information

CST272 Getting Started Page 1

CST272 Getting Started Page 1 CST272 Getting Started Page 1 1 2 3 5 6 8 10 Introduction to ASP.NET and C# CST272 ASP.NET ASP.NET Server Controls (Page 1) Server controls can be Buttons, TextBoxes, etc. In the source code, ASP.NET controls

More information

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.)

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) INTRODUCTION TO.NET Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate Language (IL) Just- In-

More information

.NET, C#, and ASP.NET p. 1 What Is.NET? p. 2 The Common Language Runtime p. 2 Introducing C# p. 3 Introducing ASP.NET p. 4 Getting Started p.

.NET, C#, and ASP.NET p. 1 What Is.NET? p. 2 The Common Language Runtime p. 2 Introducing C# p. 3 Introducing ASP.NET p. 4 Getting Started p. Introduction p. xix.net, C#, and ASP.NET p. 1 What Is.NET? p. 2 The Common Language Runtime p. 2 Introducing C# p. 3 Introducing ASP.NET p. 4 Getting Started p. 5 Installing Internet Information Server

More information

Arena Development 101 / 102 Courses # A280, A281 IMPORTANT: You must have your development environment set up for this class

Arena Development 101 / 102 Courses # A280, A281 IMPORTANT: You must have your development environment set up for this class Arena Development 101 / 102 Courses # A280, A281 IMPORTANT: You must have your development environment set up for this class Presented by: Jeff Maddox Director of Platform Integrations, Ministry Brands

More information

TEACHING PLAN. Credit: hours lab per week (1 credit hour) Semester: Semester 5 (Spring 2015) Computer Programming - CSC-113

TEACHING PLAN. Credit: hours lab per week (1 credit hour) Semester: Semester 5 (Spring 2015) Computer Programming - CSC-113 BAHRIA UNIVERSITY 13 NATIONAL STADIUM ROAD, KARACHI WEBSITE: www.bahria.edu.pk Course Title: Course Code: Credit: 2+1 Contact Hours: Web Engineering SEN-310 2 hours lecture per week 3 hours lab per week

More information

Module 7: Building Web Applications

Module 7: Building Web Applications Module 7: Building Web Applications Contents Overview 1 Introduction to ASP.NET 2 Creating Web Form Applications 16 Demonstration: Creating Web Forms 30 Lab 7.1: Creating the Customer Logon Web Forms 31

More information

DOT NET Syllabus (6 Months)

DOT NET Syllabus (6 Months) DOT NET Syllabus (6 Months) THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate Language (IL) Just- In- Time Compilation and CLS Disassembling.Net Application to IL

More information

Working with Data in ASP.NET 2.0 :: Adding Validation Controls to the Editing and Inserting Interfaces Introduction

Working with Data in ASP.NET 2.0 :: Adding Validation Controls to the Editing and Inserting Interfaces Introduction This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx. Working

More information

ASP.NET Training Course Duration. 30 Working days, daily one and half hours. ASP.NET Training Course Overview

ASP.NET Training Course Duration. 30 Working days, daily one and half hours. ASP.NET Training Course Overview ASP.NET Training Course Duration 30 Working days, daily one and half hours ASP.NET Training Course Overview Introduction To Web Applications [Prerequisites] Types of Applications Web, Desktop & Mobile

More information

Unit-2 ASP.NET Server Controls

Unit-2 ASP.NET Server Controls INTRODUCTION TO HTML CONTROLS, SERVER CONTROLS AND VALIDATION CONTROLS There are three types of the controls: HTML Controls Web Server Controls Validation Controls HTML Controls HTML Forms are required

More information

2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days

2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days 2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days Certification Exam This course will help you prepare for the following Microsoft Certified

More information

We are looking at two kinds of server controls HTML server controls and ASP.NET web server controls.

We are looking at two kinds of server controls HTML server controls and ASP.NET web server controls. ASP.NET using an.aspx extension We are looking at two kinds of server controls HTML server controls and ASP.NET web server controls. HTML server controls: http://www.w3schools.com/aspnet/aspnet_refhtmlcontrols.asp

More information

In this chapter, I m going to show you how to create a working

In this chapter, I m going to show you how to create a working Codeless Database Programming In this chapter, I m going to show you how to create a working Visual Basic database program without writing a single line of code. I ll use the ADO Data Control and some

More information

Program Contents: DOTNET TRAINING IN CHENNAI

Program Contents: DOTNET TRAINING IN CHENNAI DOTNET TRAINING IN CHENNAI NET Framework - In today s world of enterprise application development either desktop or Web, one of leaders and visionary is Microsoft.NET technology. The.NET platform also

More information

Part I: Programming Access Applications. Chapter 1: Overview of Programming for Access. Chapter 2: Extending Applications Using the Windows API

Part I: Programming Access Applications. Chapter 1: Overview of Programming for Access. Chapter 2: Extending Applications Using the Windows API 74029c01.qxd:WroxPro 9/27/07 1:43 PM Page 1 Part I: Programming Access Applications Chapter 1: Overview of Programming for Access Chapter 2: Extending Applications Using the Windows API Chapter 3: Programming

More information

To get started with Visual Basic 2005, I recommend that you jump right in

To get started with Visual Basic 2005, I recommend that you jump right in In This Chapter Chapter 1 Wading into Visual Basic Seeing where VB fits in with.net Writing your first Visual Basic 2005 program Exploiting the newfound power of VB To get started with Visual Basic 2005,

More information

Visual Basic 2008 Anne Boehm

Visual Basic 2008 Anne Boehm TRAINING & REFERENCE murach s Visual Basic 2008 Anne Boehm (Chapter 3) Thanks for downloading this chapter from Murach s Visual Basic 2008. We hope it will show you how easy it is to learn from any Murach

More information

.Net. Course Content ASP.NET

.Net. Course Content ASP.NET .Net Course Content ASP.NET INTRO TO WEB TECHNOLOGIES HTML ü Client side scripting langs ü lls Architecture ASP.NET INTRODUCTION ü What is ASP.NET ü Image Technique and code behind technique SERVER SIDE

More information

Information Systems Engineering. Presenting data in web pages Using ASP.NET

Information Systems Engineering. Presenting data in web pages Using ASP.NET Information Systems Engineering Presenting data in web pages Using ASP.NET 1 HTML and web pages URL Request HTTP GET Response Rendering.html files Browser ..

More information

Bruce Moore Fall 99 Internship September 23, 1999 Supervised by Dr. John P.

Bruce Moore Fall 99 Internship September 23, 1999 Supervised by Dr. John P. Bruce Moore Fall 99 Internship September 23, 1999 Supervised by Dr. John P. Russo Active Server Pages Active Server Pages are Microsoft s newest server-based technology for building dynamic and interactive

More information

Professional Validation And More What's New In Version 3.0. Copyright , Peter L. Blum. All Rights Reserved

Professional Validation And More What's New In Version 3.0. Copyright , Peter L. Blum. All Rights Reserved Professional Validation And More Copyright 2005-2007, Peter L. Blum. All Rights Reserved Introduction Professional Validation And More v3.0 is an extensive upgrade. This document describes the changes

More information

Postback. ASP.NET Event Model 55

Postback. ASP.NET Event Model 55 ASP.NET Event Model 55 Because event handling requires a round-trip to the server, ASP.NET offers a smaller set of events in comparison to a totally client-based event system. Events that occur very frequently,

More information

ASP.NET 2.0 p. 1.NET Framework 2.0 p. 2 ASP.NET 2.0 p. 4 New Features p. 5 Special Folders Make Integration Easier p. 5 Security p.

ASP.NET 2.0 p. 1.NET Framework 2.0 p. 2 ASP.NET 2.0 p. 4 New Features p. 5 Special Folders Make Integration Easier p. 5 Security p. Preface p. xix ASP.NET 2.0 p. 1.NET Framework 2.0 p. 2 ASP.NET 2.0 p. 4 New Features p. 5 Special Folders Make Integration Easier p. 5 Security p. 6 Personalization p. 6 Master Pages p. 6 Navigation p.

More information

One of the fundamental kinds of websites that SharePoint 2010 allows

One of the fundamental kinds of websites that SharePoint 2010 allows Chapter 1 Getting to Know Your Team Site In This Chapter Requesting a new team site and opening it in the browser Participating in a team site Changing your team site s home page One of the fundamental

More information

Course ID: 2310C Course Name: Developing Web Applications Using Microsoft Visual Studio 2008

Course ID: 2310C Course Name: Developing Web Applications Using Microsoft Visual Studio 2008 Course ID: 2310C Course Name: Developing Web Applications Using Microsoft Visual Studio 2008 Audience This course is intended for introductory-level Web developers who have knowledge of Hypertext Markup

More information

This article will walk you through a few examples in which we use ASP to bring java classes together.

This article will walk you through a few examples in which we use ASP to bring java classes together. Using Java classes with ASP ASP is a great language, and you can do an awful lot of really great things with it. However, there are certain things you cannot do with ASP, such as use complex data structures

More information

Building Web Sites Using the EPiServer Content Framework

Building Web Sites Using the EPiServer Content Framework Building Web Sites Using the EPiServer Content Framework Product version: 4.60 Document version: 1.0 Document creation date: 28-03-2006 Purpose A major part in the creation of a Web site using EPiServer

More information

ASP.NET Pearson Education, Inc. All rights reserved.

ASP.NET Pearson Education, Inc. All rights reserved. 1 ASP.NET 2 Rule One: Our client is always right. Rule Two: If you think our client is wrong, see Rule One. Anonymous 3 25.1 Introduction ASP.NET 2.0 and Web Forms and Controls Web application development

More information

OVERVIEW ENVIRONMENT PROGRAM STRUCTURE BASIC SYNTAX DATA TYPES TYPE CONVERSION

OVERVIEW ENVIRONMENT PROGRAM STRUCTURE BASIC SYNTAX DATA TYPES TYPE CONVERSION Program: C#.Net (Basic with advance) Duration: 50hrs. C#.Net OVERVIEW Strong Programming Features of C# ENVIRONMENT The.Net Framework Integrated Development Environment (IDE) for C# PROGRAM STRUCTURE Creating

More information

What is ASP.NET? ASP.NET 2.0

What is ASP.NET? ASP.NET 2.0 What is ASP.NET? ASP.NET 2.0 is the current version of ASP.NET, Microsoft s powerful technology for creating dynamic Web content. is one of the key technologies of Microsoft's.NET Framework (which is both

More information

ASP.net. Microsoft. Getting Started with. protected void Page_Load(object sender, EventArgs e) { productsdatatable = new DataTable();

ASP.net. Microsoft. Getting Started with. protected void Page_Load(object sender, EventArgs e) { productsdatatable = new DataTable(); Getting Started with protected void Page_Load(object sender, EventArgs e) { productsdatatable = new DataTable(); string connectionstring = System.Configuration.ConfigurationManager.ConnectionStrings ["default"].connectionstring;!

More information

ADO.NET 2.0. database programming with

ADO.NET 2.0. database programming with TRAINING & REFERENCE murach s ADO.NET 2.0 database programming with (Chapter 3) VB 2005 Thanks for downloading this chapter from Murach s ADO.NET 2.0 Database Programming with VB 2005. We hope it will

More information

Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser.

Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser. Controlled Assessment Task Question 1 - Describe how this HTML code produces the form displayed in the browser. The form s code is displayed in the tags; this creates the object which is the visible

More information

Creating Better Forms; an article for developers 2010

Creating Better Forms; an article for developers 2010 By Simon Miller - 20 th May 2010 www.wiliam.com.au Creating a form on a website is not a difficult thing to do with modern frameworks. Ensuring that the form is designed and functions correctly under all

More information

How to use data sources with databases (part 1)

How to use data sources with databases (part 1) Chapter 14 How to use data sources with databases (part 1) 423 14 How to use data sources with databases (part 1) Visual Studio 2005 makes it easier than ever to generate Windows forms that work with data

More information

.NET FRAMEWORK. Visual C#.Net

.NET FRAMEWORK. Visual C#.Net .NET FRAMEWORK Intro to.net Platform for the.net Drawbacks of Current Trend Advantages/Disadvantages of Before.Net Features of.net.net Framework Net Framework BCL & CLR, CTS, MSIL, & Other Tools Security

More information

Microsoft.NET: The Overview

Microsoft.NET: The Overview 2975ch01.qxd 01/03/02 10:55 AM Page 1 Part I Microsoft.NET: The Overview Chapter 1: Chapter 2: What Is.NET? Microsoft s End-to-End Mobile Strategy COPYRIGHTED MATERIAL 2975ch01.qxd 01/03/02 10:55 AM Page

More information

C H A P T E R T W E N T Y E I G H T. Create, close, and open a Web application. Add an image, text box, label, and button to a Web page

C H A P T E R T W E N T Y E I G H T. Create, close, and open a Web application. Add an image, text box, label, and button to a Web page 28 GETTING WEB-IFIED After studying Chapter 28, you should be able to: Create, close, and open a Web application View a Web page in a browser window and full screen view Add static text to a Web page Add

More information

Fundamental C# Programming

Fundamental C# Programming Part 1 Fundamental C# Programming In this section you will find: Chapter 1: Introduction to C# Chapter 2: Basic C# Programming Chapter 3: Expressions and Operators Chapter 4: Decisions, Loops, and Preprocessor

More information

Using Expressions Effectively

Using Expressions Effectively Using Expressions Effectively By Kevin Hazzard and Jason Bock, author of Metaprogramming in.net Writing code in IL can easily lead to incorrect implementations and requires a mental model of code execution

More information

C HAPTER S EVEN F OCUS ON J AVAS CRIPT AND VBSCRIPT E XTENSIONS

C HAPTER S EVEN F OCUS ON J AVAS CRIPT AND VBSCRIPT E XTENSIONS C HAPTER S EVEN F OCUS ON J AVAS CRIPT AND VBSCRIPT E XTENSIONS Among the more creative and interesting ways to enhance the Web store is through advanced HTML tags. Today, among the most advanced of these

More information

Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT

Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT AGENDA 3. Advanced C# Programming 3.1 Events in ASP.NET 3.2 Programming C# Methods 4. ASP.NET Web Forms 4.1 Page Processing

More information

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Actual4Test.  Actual4test - actual test exam dumps-pass for IT exams Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 70-515-VB Title : Web Applications Development with Microsoft VB.NET Framework 4 Practice Test Vendors

More information

Getting Started with Visual Basic 2005 Express Edition

Getting Started with Visual Basic 2005 Express Edition 4398book.fm Page 1 Tuesday, February 14, 2006 1:53 PM Part 1 Getting Started with Visual Basic 2005 Express Edition In this section: Chapter 1: Welcome to Visual Basic 2005 Express Edition Chapter 2: Using

More information

Dynamism and Detection

Dynamism and Detection 1 Dynamism and Detection c h a p t e r ch01 Page 1 Wednesday, June 23, 1999 2:52 PM IN THIS CHAPTER Project I: Generating Platform-Specific Content Project II: Printing Copyright Information and Last-Modified

More information

Xton Access Manager GETTING STARTED GUIDE

Xton Access Manager GETTING STARTED GUIDE Xton Access Manager GETTING STARTED GUIDE XTON TECHNOLOGIES, LLC PHILADELPHIA Copyright 2017. Xton Technologies LLC. Contents Introduction... 2 Technical Support... 2 What is Xton Access Manager?... 3

More information

Introduction & Controls. M.Madadyar.

Introduction & Controls. M.Madadyar. Introduction & Controls M.Madadyar. htt://www.students.madadyar.com ASP.NET Runtime Comilation and Execution default.asx Which language? C# Visual Basic.NET C# comiler Visual Basic.NET comiler JIT comiler

More information

Improved Web Development using HTML-Kit

Improved Web Development using HTML-Kit Improved Web Development using HTML-Kit by Peter Lavin April 21, 2004 Overview HTML-Kit is a free text editor that will allow you to have complete control over the code you create and will also help speed

More information

HOUR 4 Understanding Events

HOUR 4 Understanding Events HOUR 4 Understanding Events It s fairly easy to produce an attractive interface for an application using Visual Basic.NET s integrated design tools. You can create beautiful forms that have buttons to

More information

Microsoft.NET Programming (C#, ASP.NET,ADO.NET, VB.NET, Crystal Report, Sql Server) Goal: Make the learner proficient in the usage of MS Technologies

Microsoft.NET Programming (C#, ASP.NET,ADO.NET, VB.NET, Crystal Report, Sql Server) Goal: Make the learner proficient in the usage of MS Technologies Microsoft.NET Programming (C#, ASP.NET,ADO.NET, VB.NET, Crystal Report, Sql Server) Goal: Make the learner proficient in the usage of MS Technologies for web applications development using ASP.NET, XML,

More information

Learning VB.Net. Tutorial 17 Classes

Learning VB.Net. Tutorial 17 Classes Learning VB.Net Tutorial 17 Classes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it. If

More information

ASP.NET provides several mechanisms to manage state in a more powerful and easier to utilize way than classic ASP.

ASP.NET provides several mechanisms to manage state in a more powerful and easier to utilize way than classic ASP. Page 1 of 5 ViewState... ASP.NET provides several mechanisms to manage state in a more powerful and easier to utilize way than classic ASP. By: John Kilgo Date: July 20, 2003 Introduction A DotNetJohn

More information

Rehab AlFallaj. CT1501: Development of Internet Application

Rehab AlFallaj. CT1501: Development of Internet Application Rehab AlFallaj CT1501: Development of Internet Application Why? To check that the information users enter is valid. ASP.NET provides a set of validation controls that provide an easy-to-use but powerful

More information

A NET Refresher

A NET Refresher .NET Refresher.NET is the latest version of the component-based architecture that Microsoft has been developing for a number of years to support its applications and operating systems. As the name suggests,.net

More information

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Chapter4: HTML Table and Script page, HTML5 new forms Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Objective To know HTML5 creating a new style form. To understand HTML table benefits

More information

Naresh Information Technologies

Naresh Information Technologies Naresh Information Technologies Server-side technology ASP.NET Web Forms & Web Services Windows Form: Windows User Interface ADO.NET: Data & XML.NET Framework Base Class Library Common Language Runtime

More information

CH4: Construc-ng ASP.NET Web Pages (Part 1) BUILD YOUR OWN ASP.NET 4 WEB SITE USING C# & VB

CH4: Construc-ng ASP.NET Web Pages (Part 1) BUILD YOUR OWN ASP.NET 4 WEB SITE USING C# & VB CH4: Construc-ng ASP.NET Web Pages (Part 1) BUILD YOUR OWN ASP.NET 4 WEB SITE USING C# & VB What we have learnt so far.. HTML for the content and structure CSS for the design and presentaion JavaScript

More information

4. กก ( Web-based Technology ) (System Development Life Cycle : SDLC) ก ก ก

4. กก ( Web-based Technology ) (System Development Life Cycle : SDLC) ก ก ก 2 ก ก ก ก ก ก ก 1. ก ก ก ก 1.1 ก ก 1.2 ก ก 2. ก ก.NET 3. ก ก ก 4. กก ( Web-based Technology ) 5. ก ก 6. ก ก ก ก ก 1. ก ก ก (System Development Life Cycle: SDLC) ก (System Development Life Cycle : SDLC)

More information

Intro. Scheme Basics. scm> 5 5. scm>

Intro. Scheme Basics. scm> 5 5. scm> Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if

More information

C#.NET TRAINING / /

C#.NET TRAINING / / C#.NET TRAINING.NET ENTERPRISE ARCHITECTURE Introduction to the.net platform Common Language Run Time(CLR) The Common Type Specification(CTS) The Common Language Specification(CLS) Microsoft Intermediate

More information

1) INTRODUCTION OF ASP.NET & ITS ADVANTAGES:-

1) INTRODUCTION OF ASP.NET & ITS ADVANTAGES:- 1) INTRODUCTION OF ASP.NET & ITS ADVANTAGES:- INTRODUCTION OF ASP.NET:- ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services

More information

All India Council For Technical Skill Development (AICTSD) In Association with IITians Embedded Technosolution

All India Council For Technical Skill Development (AICTSD) In Association with IITians Embedded Technosolution All India Council For Technical Skill Development (AICTSD) In Association with IITians Embedded Technosolution Dot NET with SQL Chapter 1 General.NET introduction Overview of the.net Platform How.NET is

More information

Contents. Using Interpreters... 5 Using Compilers... 5 Program Development Life Cycle... 6

Contents. Using Interpreters... 5 Using Compilers... 5 Program Development Life Cycle... 6 Contents ***Introduction*** Introduction to Programming... 1 Introduction... 2 What is a Program?... 2 Role Played by a Program to Perform a Task... 2 What is a Programming Language?... 3 Types of Programming

More information

ASP.NET Web Forms Programming Using Visual Basic.NET

ASP.NET Web Forms Programming Using Visual Basic.NET ASP.NET Web Forms Programming Using Visual Basic.NET Duration: 35 hours Price: $750 Delivery Option: Attend training via an on-demand, self-paced platform paired with personal instructor facilitation.

More information

ST. XAVIER S COLLEGE (Affiliated to Tribhuvan University) Maitighar, Kathmandu NET CENTRIC COMPUTING [CSC 360]

ST. XAVIER S COLLEGE (Affiliated to Tribhuvan University) Maitighar, Kathmandu NET CENTRIC COMPUTING [CSC 360] ST. XAVIER S COLLEGE (Affiliated to Tribhuvan University) Maitighar, Kathmandu NET CENTRIC COMPUTING [CSC 360] THEORY ASSIGNMENT #1 Submitted By Aashish Raj Shrestha 3 nd Year / 6 th SEM 013BSCCSIT002

More information

shortcut Tap into learning NOW! Visit for a complete list of Short Cuts. Your Short Cut to Knowledge

shortcut Tap into learning NOW! Visit  for a complete list of Short Cuts. Your Short Cut to Knowledge shortcut Your Short Cut to Knowledge The following is an excerpt from a Short Cut published by one of the Pearson Education imprints. Short Cuts are short, concise, PDF documents designed specifically

More information

The History behind Object Tools A Quick Overview

The History behind Object Tools A Quick Overview The History behind Object Tools Object Tools is a 4D plug-in from Automated Solutions Group that allows a developer to create objects. Objects are used to store 4D data items that can be retrieved on a

More information

Book IX. Developing Applications Rapidly

Book IX. Developing Applications Rapidly Book IX Developing Applications Rapidly Contents at a Glance Chapter 1: Building Master and Detail Pages Chapter 2: Creating Search and Results Pages Chapter 3: Building Record Insert Pages Chapter 4:

More information

ASP.NET Validation. Madhuri Sawant. madhuri sawant

ASP.NET Validation. Madhuri Sawant. madhuri sawant ASP.NET Validation Madhuri Sawant Validation o o o o o A validation control is a type of ASP.NET control that s used to validate input data. Use validation controls to test user input and produce error

More information

10267A CS: Developing Web Applications Using Microsoft Visual Studio 2010

10267A CS: Developing Web Applications Using Microsoft Visual Studio 2010 10267A CS: Developing Web Applications Using Microsoft Visual Studio 2010 Course Overview This instructor-led course provides knowledge and skills on developing Web applications by using Microsoft Visual

More information

Microsoft ASP.NET Using Visual Basic 2008: Volume 1 Table of Contents

Microsoft ASP.NET Using Visual Basic 2008: Volume 1 Table of Contents Table of Contents INTRODUCTION...INTRO-1 Prerequisites...INTRO-2 Installing the Practice Files...INTRO-3 Software Requirements...INTRO-3 Installation...INTRO-3 The Chapter Files...INTRO-3 Sample Database...INTRO-3

More information

Enabling Performance & Stress Test throughout the Application Lifecycle

Enabling Performance & Stress Test throughout the Application Lifecycle Enabling Performance & Stress Test throughout the Application Lifecycle March 2010 Poor application performance costs companies millions of dollars and their reputation every year. The simple challenge

More information

Mitchell Bosecke, Greg Burlet, David Dietrich, Peter Lorimer, Robin Miller

Mitchell Bosecke, Greg Burlet, David Dietrich, Peter Lorimer, Robin Miller Mitchell Bosecke, Greg Burlet, David Dietrich, Peter Lorimer, Robin Miller 0 Introduction 0 ASP.NET 0 Web Services and Communication 0 Microsoft Visual Studio 2010 0 Mono 0 Support and Usage Metrics .NET

More information

COPYRIGHTED MATERIAL WHAT YOU WILL LEARN IN THIS CHAPTER:

COPYRIGHTED MATERIAL WHAT YOU WILL LEARN IN THIS CHAPTER: 1 WHAT YOU WILL LEARN IN THIS CHAPTER: How to acquire and install Visual Web Developer 2010 Express and Visual Studio 2010 How to create your first web site with Visual Web Developer How an ASP.NET page

More information

Client-side Processing

Client-side Processing Client-side Processing 1 Examples: Client side processing 1. HTML 2. Plug-ins 3. Scrips (e.g. JavaScript, VBScript, etc) 4. Applet 5. Cookies Other types of client-side processing 1. Cascading style sheets

More information

M4.1-R4: APPLICATION OF.NET TECHNOLOGY

M4.1-R4: APPLICATION OF.NET TECHNOLOGY M4.1-R4: APPLICATION OF.NET TECHNOLOGY NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions. 2. PART ONE is to be answered in the OMR

More information

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 2. W3Schools has a lovely html tutorial here (it s worth the time): http://www.w3schools.com/html/default.asp

More information

c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc. c360 Solutions

c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc.   c360 Solutions c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc. www.c360.com c360 Solutions Contents Overview... 3 Web Connect Configuration... 4 Implementing Web Connect...

More information

SOFTRONIICS Call:

SOFTRONIICS Call: Microsoft ASP.NET Programming Certification - Syllabus Section I - The Interface of Microsoft ASP.NET What Is ASP.NET, and Why Is It So Great? Understanding Web Servers and Browsers Understanding Static

More information

Unit-3 State Management in ASP.NET

Unit-3 State Management in ASP.NET STATE MANAGEMENT Web is Stateless. It means a new instance of the web page class is re-created each time the page is posted to the server. As we all know HTTP is a stateless protocol, it s can't holds

More information

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore 560 100 Department of MCA COURSE INFORMATION SHEET Programming Using C#.NET (13MCA53) 1. GENERAL INFORMATION: Academic Year:

More information

Master Pages :: Control ID Naming in Content Pages

Master Pages :: Control ID Naming in Content Pages Master Pages :: Control ID Naming in Content Pages Introduction All ASP.NET server controls include an ID property that uniquely identifies the control and is the means by which the control is programmatically

More information

VERSION GROUPWISE WEBACCESS USER'S GUIDE

VERSION GROUPWISE WEBACCESS USER'S GUIDE VERSION GROUPWISE WEBACCESS USER'S GUIDE TM Novell, Inc. makes no representations or warranties with respect to the contents or use of this manual, and specifically disclaims any express or implied warranties

More information

AN INTRODUCTION TO ASP.NET 4.5

AN INTRODUCTION TO ASP.NET 4.5 10 x CHAPTER 1 GETTING STARTED WITH ASP.NET 4.5 In the following section, you see how ASP.NET works in much more detail. AN INTRODUCTION TO ASP.NET 4.5 When you type a URL like www.wrox.com in your web

More information

Supplemental Handout: Exceptions CS 1070, Spring 2012 Thursday, 23 Feb 2012

Supplemental Handout: Exceptions CS 1070, Spring 2012 Thursday, 23 Feb 2012 Supplemental Handout: Exceptions CS 1070, Spring 2012 Thursday, 23 Feb 2012 1 Objective To understand why exceptions are useful and why Visual Basic has them To gain experience with exceptions and exception

More information

5. Explain Label control in detail with Example.

5. Explain Label control in detail with Example. 5. Explain Label control in detail with Example. Whenever you need to modify the text displayed in a page dynamically, you can use the Label control. Any string that you assign to the Label control's Text

More information