Later Today: ASP.NET Tutorial 2: Introduction to C#

ASP.NET Tutorial 7: Intro to .NET Forms

This article introduces the use of forms in an ASP.NET webpage. Before you begin, you should already have a basic understanding of HTML form elements. If you need a refresher, we will briefly discuss the use of classic form elements on an ASPX page, but the focus of this article will be on the use special ASP.NET form elements.

Continue Reading this Article >>

ASP.NET Tutorial 6: Outputting Data to the Webpage

This article explains the three primary methods of outputting data onto a webpage from the code-behind class: Labels, Literals, and the Response.Write() method. This article is also useful for gaining a basic understanding of how .NET handles communication between elements on the ASPX webpage and the C# code-behind class.

Continue Reading this Article >>

(C#) Sending an Email with an Attachment (via Form)

This article explains how to send an email that includes an attachment from a web form. This is particularly useful if you need to create a web form that allows users to upload their own file attachments. The examples in this article assume that you already have a form with a FileUpload element in it, named “fuAttachment”. This particular method is especially useful since it does not require you to save any files to the server before sending the email. The posted data is instead handled directly.

You should already by familiar with sending emails from ASP.NET before reading this article.

Continue Reading this Article >>

ASP.NET Tutorial 5: Conditionals 2 ( switch constructs )

This article explains the use of switch constructs. Switch constructs are a conditional, like if/else constructs discussed in the previous ASP.NET Tutorial 4. In all honesty, you won’t use switch blocks nearly as often as you will use if… but there are times when they just plain make more sense.

A switch block compares a single variable or value to any number of other values, and when it finds a match, it executes some code. What really makes switch blocks handy is that after it finds a match, it will keep checking conditions until you tell it to stop (by using the break keyword).

Continue Reading this Article >>
RSS Twitter LinkedIn Facebook
Doing neato things with JavaScript, please wait...