i am using asp.net and have a form to make a new item in the database
the form allows the user to add pictures, however the pictures are uploaded using ajax before the form is submitted
now since i dont know what the id of the new item is going to be, i can't associate any item id to the uploaded pictures untill the form is submitted
where would be a good place to store the uploaded pictures' id's so that when the form is submitted, i can get the id of the new item and update the uploaded pictures accordingly?
Question
nihal
i am using asp.net and have a form to make a new item in the database
the form allows the user to add pictures, however the pictures are uploaded using ajax before the form is submitted
now since i dont know what the id of the new item is going to be, i can't associate any item id to the uploaded pictures untill the form is submitted
where would be a good place to store the uploaded pictures' id's so that when the form is submitted, i can get the id of the new item and update the uploaded pictures accordingly?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts