This sample shows you how to use the ASP.NET DataGrid's built in
editing capabilities to edit records in a database. I've also added
some basic Try...Catch...Finally style error handling since I'm sure
someone will try and enter text into the integer field!