Code for http://web119.wave.studiocoast.com.au/wpf-sql-connection-user-control