Saturday, March 24, 2012

what is the best way to associate an image with a record set.

i really want to store a path to image in dtabase field!

just store the path of the image in the database as string (nvarchar(...)), and you can add the image to your form binding the image url to the image column in your recordset.


Thanks, i'll give it a go. can i upload an image and store path to database field at same time?


What do you mean by at the same time? uploading an image and storing a value in a database are two different tasks; you have to write the code for both of them; and you call the upload then if succeeded, you call the database update.


Thanks. i am new to this. i am currently going thru the asp.net data tutorials so maybe i am going ahead of myself. Thanks for help

0 comments:

Post a Comment