Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pelegk1 - 31 Aug 2007 21:20 GMT
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>
[/code]
with a flash file for example that dosent occur!
any iidea why?
htnaks in advance
peleg
Alexey Smirnov - 31 Aug 2007 22:01 GMT
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
[quoted text clipped - 17 lines]
> htnaks in advance
> peleg

Where is the code to save the files?
pelegk1 - 31 Aug 2007 23:10 GMT
sorry my mistake
on the saved row iused another fileuplaod object:)

> On Aug 31, 10:20 pm, pelegk1 <pele...@discussions.microsoft.com>
> wrote:
[quoted text clipped - 21 lines]
>
> Where is the code to save the files?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.