View Single Post
Old June 19th, 2006, 04:43 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

Right after you uploaded the file and saved it, you can execute an INSERT statement against the database. If you're unfamiliar with accessing database, I suggest you get a book like Beginning ASP.NET 2, or Professional ASP.NET 2.0, and check out the ASP.NET 2 quickstarts from Microsoft here:

These quick starts and books talk about inserting data, but also about updating data. In your case, you should display the old record so users can edit it. Once you edit the record, you can execute an UPDATE statement to update the existing record with the new path.

Let me know if you need some help with a particular part of the process.


P.S. Did you ask this question on my website as well?

Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004