Code for updating database in asp net

As a sample application, I'll build a small web site that allows you to upload files and store them at a location that you determine.

Update 2010/08/10: I just posted an article featuring a new version of this application based on the Provider Model design pattern. A common requirement in web sites is handling client files that are uploaded through the browser.One of the main benefits of storing the file on disk is that it's very easy to do. Another advantage is that files on disk are easy to backup; you just copy the files to another location.This also makes it easier to do incremental backups; files that have already been backed up don't need to be copied again.At the top of the list of disadvantages of storing your files in a database is probably performance.While I don't have any hard figures to support this, the "word is" that it's slow.