Author Archive
Small Business Online Program – eNable – Free web consultations for Queensland small businesses
The objective of the “e-Nable” program is to assist small businesses to significantly enhance their web presence and engage in e-business capabilities, in order to help reduce their costs and improve their market opportunities. Castner IT is coordinating and delivering the program on behalf of Business Success Group.
This is an Australian Government funded initiative under [...]
Australian Election Day Polling Place Stall Finder
A tradition at every Australian election polling place is a variety of stalls with cakes, arts and crafts, and sausage sizzles. During my lunch break today I designed a simple web application using ASP.NET and a little AJAX that will let you search for a polling place and see what stall are available. Most stalls [...]
Student Position available at Castner IT
Castner IT is an IT consulting firm that provides business system analysis, web development, and intranet development services to companies in Australia and the United States. We offer services across the full development lifecycle and develop systems using ASP.NET, C#, SharePoint, and SQL Server.
We currently have a position opening for a suitably qualified person to [...]
Avoiding ASP.NET dropdownlist has a selectedvalue which is invalid exceptions
It is often to difficult to capture the following ASP.NET dropdownlist error when the dropdownlist is bound to an sqldatasource:Â
Dropdownlistname has a SelectedValue which is invalid because it does not exist in the list of itemsÂ
This exception is frequently caused by poor validation controls during data entry and/or poor database design. For example, the previous application might [...]
Consuming a web service using ASP.NET
This is a video tutorial I created for my eBusiness class at the University of Oregon. It is an introduction to consuming a web service  and using the Google Maps API with ASP.NET and Visual Studio 2008. It highlights how to create and use a web reference on an ASP.NET web page with Visual Basic. It also provides [...]
Replying from mail-enabled public folder as public folder’s email address
When you create a mail-enabled public folder in Microsoft Exchange/Outlook, the default is for any email sent from the public folder to come from the individual’s and not the publc folder’s email address. This Outlook 2007 add-on fixes that problem by changing the from address to the public folder’s address and also bcc’ing the public [...]
Introduction to Expression Web
This tutorial is for people starting out with Microsoft Expression Web 2. It is aimed at users that have never used Expression Web or any other web development software. I originally created it for one of my classes at the University of Oregon. The tutorial covers how to create your first page, how to upload [...]
Inserting a PayPal Buy Now Button into an ASP.NET Form
When working with ASP.NET pages, one difficulty that often arises is that you need two forms on the page – the normal form required by ASP.NET and a second form for something else such as a PayPal button or a search tool. The solution that I discovered is to not have two forms but simply [...]
Changing default language in Office 2007
I recently moved back to Australia from the USA and had plenty of fun trying to change all of my defaults from USA to Australia. Here is a list of things to check whenever you are changing countries:
1. Microsoft Vista: Control Panel –> Clock, Language, and Region –> Change the country or region
and [...]
Microsoft reporting: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
This error was bugging me for a long time until I found this excellent forum discussion:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=541116&SiteId=1
The following points summarize the causes and solutions from the forum and offer some additional help:
1. Check if you have changed the length of any fields in the underlying database table after creating the dataset. If you have, [...]
