A simple sample that shows how to delete a record from
a database simply by clicking on it. There's nothing all that
complex here. The little bit of housekeeping does use the
ExecuteScalar method of the command object which I haven't used
much in the past so you might want to take a look at that.
Aside from that it's just some good old fashioned database code.
Please note that there are some steps being
taken to keep this database reasonably small, yet not empty! So, if you see
entries disappear, appear, or change, it is most likely due to the maintenance
parts of the script. Please note that it is also likely that others may be
viewing either this sample or one of the many others that utilize this table.
This also will cause changes to the database resulting in records you may not
be expecting!