OdeToCode IC Logo

All Articles

Looping Through Controls In ASP.NET web form

Looping through controls in an ASP.Net application is fairly easy using some recursion using the ControlCollection. This article demonstrates how to find controls in a web form
Published: Thursday, January 1, 2004

SQL Server Indexes

All about SQL Indexes - Clustered versus non-clustered indexes, composite, and unique indexes. Tips for chosing the columns for indexes and SQL commands to create, delete, and rename SQL indexes.
Published: Thursday, January 1, 2004

Error handling in ASP.NET using the Global.asax

Error handling in .NET using the Global.asax. Using Application_Error in the global.asax to write to the event log, and email an error message with stack trace to a pre-designated email address
Published: Wednesday, December 31, 2003

Fun With C# and HP Laserjets

Using sockets and C#, you can customize the display of a networked HP Printer.
Published: Monday, December 29, 2003

Merger Made In Heaven

How not to merge two companies on a bursting bubble.
Published: Monday, December 29, 2003

Finding Empty Tables in a database

A generic stored procedure which lists the empty tables in a database
Published: Sunday, December 28, 2003

A UDF to list column names of a SQL database table

This User defined function ( UDF ) lists the columns names and properties of a table in a SQL database
Published: Sunday, December 28, 2003

Creating a SQL System UDF (User Defined Functions)

SQL System UDF's (User Defined Functions) can be a useful addtion to a DBA's arsenal. This article shows you how to create a System UDF in SQL.
Published: Sunday, December 28, 2003

Introduction to SQL Server Reporting Services

SQL Server Reporting Services Tutorial, a step by step guide on how to create a report using Microsoft Reporting Services Report Wizard
Published: Sunday, December 28, 2003

Reading from Web.Config in an ASP.Net Application

A generic class to read key values from Web.config in ASP.Net using C#
Published: Sunday, December 28, 2003

A Cryptographic Function Has Failed in ASP.Net

Avoiding crypto error messages when using MSMQ from ASP.NET
Published: Sunday, December 28, 2003

Decision Support Objects (DSO), Threading Models and ASP.NET

Using Decision Support Objects (DSO) in ASP.NET
Published: Sunday, December 28, 2003

Auto Resizing Columns In A Windows Form DataGrid

Two methods to auto resize the width of columns in a Windows Form datagrid. The first assumes the DataSource is a DataTable, the second uses reflection.
Published: Sunday, December 28, 2003

A User Defined Function in SQL simulating a VB SPLIT

Use a SQL User Defined Function ( UDF ) to split a delimited string and return an record set
Published: Sunday, December 28, 2003

Populate Multiple Web Controls in ASP.Net using SqlDataReader

In ASP.NET you can use a single SqlDataReader to populate multiple web controls.
Published: Sunday, December 28, 2003

How to view a SQL System UDF

When you try and view a SQL Server System UDF, you get an 'Unable to retrieve the text from a UserDefinedFunction object 'system_function_schema' error. It is possible to view the code in a SQL System UDF and this is how:
Published: Sunday, December 28, 2003

DrawString and MeasureString in Windows forms

Using DrawString and MeasureString in Windows Forms.
Published: Sunday, December 28, 2003

Verhogen Semaphore

Building a semaphore class in .NET
Published: Sunday, December 28, 2003