You shouldn't have any problems with what you are trying to do, is your FormView inside of an update panel? Can you provide a sample of what you have tried so far so we can make it work?
Thanks,
The Formview is in insert mode as default, for the user to insert the data.
Yes, it works for now, but I want to combine the two functions (insert data and upload) into one page - and one button. I cannot figure out how to set the code, I think the sequence must be something like this:
1. upload file
2 insert data from the Formview, including the file name from the upload textbox
3. redirect to other page
I know it is possible, I am just not clever enough to figure out how :-)
ricas
Member
151 Points
339 Posts
Re: Combine data insert and file upload into one page
Apr 24, 2012 05:59 AM|LINK
Thanks,
The Formview is in insert mode as default, for the user to insert the data.
Yes, it works for now, but I want to combine the two functions (insert data and upload) into one page - and one button. I cannot figure out how to set the code, I think the sequence must be something like this:
1. upload file
2 insert data from the Formview, including the file name from the upload textbox
3. redirect to other page
I know it is possible, I am just not clever enough to figure out how :-)
Best regards
..... I am new to all this, so please be patient