Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > asp.net 2 loading picture - the file is "corrupted"

Reply
Thread Tools

asp.net 2 loading picture - the file is "corrupted"

 
 
=?Utf-8?B?cGVsZWdrMQ==?=
Guest
Posts: n/a
 
      08-31-2007
i am trying to load diffrent types of pictures like jpg/png/....
the file is being uploaded but i cant after it see the file (i try to open
it and get the message that
"preview cant be viewed" when i lin it to my html in IE i see whith box
empty.

this is the code i use :
Code:
<form id="frmCustomerCard" runat="server" style="width:600px; margin:0 auto" 
onsubmit="return CheckBeforeSubmit();">
......
<label for="FileUpload3">Choose file for upload</label><asp:FileUpload 
ID="FileUpload3" runat="server" />
.....
<asp:Button Text="Update Detailes"   runat=server id="btnSubmit"/><br />
</form>
with a flash file for example that dosent occur!
any iidea why?
htnaks in advance
peleg

 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      08-31-2007
On Aug 31, 10:20 pm, pelegk1 <pele...@discussions.microsoft.com>
wrote:
> i am trying to load diffrent types of pictures like jpg/png/....
> the file is being uploaded but i cant after it see the file (i try to open
> it and get the message that
> "preview cant be viewed" when i lin it to my html in IE i see whith box
> empty.
>
> this is the code i use :
>
Code:
> <form id="frmCustomerCard" runat="server" style="width:600px; margin:0 auto"
> onsubmit="return CheckBeforeSubmit();">
> .....
> <label for="FileUpload3">Choose file for upload</label><asp:FileUpload
> ID="FileUpload3" runat="server" />
> ....
> <asp:Button Text="Update Detailes"   runat=server id="btnSubmit"/><br />
> </form>
>
> with a flash file for example that dosent occur!
> any iidea why?
> htnaks in advance
> peleg


Where is the code to save the files?

 
Reply With Quote
 
 
 
 
=?Utf-8?B?cGVsZWdrMQ==?=
Guest
Posts: n/a
 
      08-31-2007
sorry my mistake
on the saved row iused another fileuplaod object

"Alexey Smirnov" wrote:

> On Aug 31, 10:20 pm, pelegk1 <pele...@discussions.microsoft.com>
> wrote:
> > i am trying to load diffrent types of pictures like jpg/png/....
> > the file is being uploaded but i cant after it see the file (i try to open
> > it and get the message that
> > "preview cant be viewed" when i lin it to my html in IE i see whith box
> > empty.
> >
> > this is the code i use :
> >
Code:
> > <form id="frmCustomerCard" runat="server" style="width:600px; margin:0 auto"
> > onsubmit="return CheckBeforeSubmit();">
> > .....
> > <label for="FileUpload3">Choose file for upload</label><asp:FileUpload
> > ID="FileUpload3" runat="server" />
> > ....
> > <asp:Button Text="Update Detailes"   runat=server id="btnSubmit"/><br />
> > </form>
> >
> > with a flash file for example that dosent occur!
> > any iidea why?
> > htnaks in advance
> > peleg

>
> Where is the code to save the files?
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(June, 19th) Picture of the Picture Daniel Rocha Digital Photography 5 06-25-2006 06:17 PM
Problem with picture on SD card - can't delete bad picture Harlen Ng Digital Photography 8 11-11-2005 08:47 PM
Printing file number and picture number with picture Ace Digital Photography 2 09-17-2005 09:15 AM
Need opinions - good picture - bad picture utseay@aol.com Digital Photography 22 03-17-2005 08:01 AM
Help taking a picture of a glossy picture (Q-60 profiling) Fanta Digital Photography 3 08-31-2003 09:27 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57