pauld
unread,May 8, 2008, 3:27:33 PM5/8/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
On May 8, 12:06 pm, Cerebrus <
zorg...@sify.com> wrote:
> Assuming you know how to retrieve the name and other properties of the
> file selected through the FileUpload control, it boils down to a
> problem of transferring information from one page to another. There
> are about a thousand (okay, maybe a little less ! ;-) ) ways to do
> this.
>
Ah, there's the problem. I haven't used the FileUpload control before,
so I don't know how to work with it, really. Let me ask another
question: my understanding is that the fileupload must be on its own
form, so I have to do this the way I am doing it, yes?
Basically this is a registration form where the admins or registrants
have the option of associating a photo with the record when it is
created. As it stands now I have an "Upload Photo" link that opens the
page with the fileupload control on it. You browse to the file.
etc,etc and once the file is uploaded successfully I want some way
that when the user returns to the page or form that the photo's name
is filled into the space where it can be stored along with the rest of
the database info when the user clicks "Create Record"
I have opted to not store the photos in the db as binary data as it is
easier to work with datagridview and other
asp.net data presentation
controls with just the filename (this I do know how to do).
So, if there's a way to do what I describe, or a better way to do the
whole thing, I would be very much obliged.
Thanks again,
Paul