View Single Post
  #2 (permalink)  
Old June 19th, 2006, 04:43 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

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: http://asp.net/QuickStart/howto/doc/...teCommand.aspx

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.

Imar

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
Reply With Quote