A collection of articles and tutorials on web development with ASP.NET by Mike Brind

Latest Entries

Create an RSS Feed In ASP.NET 2.0 C#

05 April 2007 22:37

C# ASP.NET 2.0

Using the XmlTextWrite to output an XML file that serves as an RSS feed.

Click to read more about Create an RSS Feed In ASP.NET 2.0 C# ...

How to conditionally show an image, or other control in ASP.NET

04 April 2007 21:45

ASP.NET 2.0

Quite often, you want to display an item from a database that may or may not have an associated image. Examples might include a news story, product details, car for sale etc. But you want to avoid the dreaded "redex" if a picture isn't present.

Click to read more about How to conditionally show an image, or other control in ASP.NET ...

Create A Utility Class Containing Site-Wide Functions

03 April 2007 21:33

C# ASP.NET 2.0

In Classic ASP, the typical model for managing site-wide functions is to create one or more server-side includes containing libraries of code. The OOP nature of ASP.NET offers a much more elegant solution.

Click to read more about Create A Utility Class Containing Site-Wide Functions ...

Iterating through CheckBoxList To Insert Records

03 April 2007 20:52

ASP.NET 2.0 ADO.NET

Having inserted a record, you want to retrieve the newly created record's ID number, then iterate over a collection of items, such as a CheckBoxList to insert additional information relating to the record.

Click to read more about Iterating through CheckBoxList To Insert Records ...

Insert Single Value With Stored Procedure ASP.NET C#

03 April 2007 14:16

ASP.NET 2.0 SQL ADO.NET

Code for calling stored procedure in the Code-Behind to insert a single value from a text box.

Click to read more about Insert Single Value With Stored Procedure ASP.NET C# ...

How can I use ASP.NET to do the following

01 April 2007 16:10

ASP.NET 2.0

A list of common things that people want to be able to use ASP.NET for on the client-side.

Click to read more about How can I use ASP.NET to do the following ...

Saved Parameter Queries with MS Access and ASP

31 March 2007 21:19

Classic ASP VBScript MS Access

Protecting your application against SQL injection and easier debugging are just two of the benefits of using saved parameter queries in MS Access.

Click to read more about Saved Parameter Queries with MS Access and ASP ...

ADOX, MS Access and ASP

31 March 2007 19:55

Classic ASP VBScript MS Access

You don't need MS Access installed on your computer to create a database file for your ASP web site. Using ADOX and some data definition language allows you to produce an mdb file programmatically.

Click to read more about ADOX, MS Access and ASP ...

Paging long articles in Classic ASP

31 March 2007 17:46

VBScript

Long articles are better broken into bite-sized chunks over several pages. With static HTML, this is easily achieved by dividing the article into logical separations and creating separate .htm files for each. Here's how to do it using ASP for an article that gets posted to a database.

Click to read more about Paging long articles in Classic ASP ...