Hi,Can anybody tell me how to track email from a public folder in outlookexpress using asp.net? I ne...
By ratnakarp_gmail_com
Howdy,I have a DetailsView control and i would like, that after a new item isinserted, that I can th...
By davidlozzi
First, intruduce my software:windows server 2003 + IE 6.0 + IIS 6.0 + framework .net 2.0+ visual stu...
By jonsu2008
Here is the final solution to this freakin puzzle: Each time I registered scrrun.dll, ACT would run ...
By anonymous
Hi,I am trying to use HtmlInputFile.SaveAs to upload a file to the server. However, I get a "Access...
By smetzger, 4 Comments
I have a FormView control that I'm using to edit and insert records ina table called Members in...
By metal2you, 1 Comments
When adding the CrystalReportViewer Control to my aspx web form I get thecontrol with red letters "E...
By richardthayne, 1 Comments
hi guys I am looking for a way to read & download my e-mails from my pop3account from another server...
By jamal, 2 Comments
I have a FormView control that I'm using to edit and insert records in a table called Members i...
By anonymous, 1 Comments
Hi,
In order to upload file in ASP.NET and access it in server-side code, you need:
1. Add the enctype="multipart/form-data" name-value attribute to the <form> tag as follows:
<form id="Form1" method="post" enctype="multipart/form-data" runat="server">
2. Add runat="server" attribute to the file control.
<INPUT type=file id=File1 name=File1 runat="server" />
See details of HOW TO: Upload a File to a Web Server in ASP.NET at:
VB.NET: http://support.microsoft.com/default...b;en-us;323245
C#: http://support.microsoft.com/default...b;EN-US;323246
Bin Song, MCP
binsong_mcp | Mon, 26 May 2008 17:06:00 GMT |
I've checked the code and found none of them missing.

Thanks anyway.
"Bin Song, MCP" <anonymous...discussions.microsoft.com> bl
news:0D19AB87-8EC0-4562-8732-D9C24C623768...microsoft.com g...
> Hi,
> In order to upload file in ASP.NET and access it in server-side code, you
need:
> 1. Add the enctype="multipart/form-data" name-value attribute to the
<form> tag as follows:
> <form id="Form1" method="post" enctype="multipart/form-data"
runat="server">
> 2. Add runat="server" attribute to the file control.
> <INPUT type=file id=File1 name=File1 runat="server" />
> See details of HOW TO: Upload a File to a Web Server in ASP.NET at:
> VB.NET: http://support.microsoft.com/default...b;en-us;323245
> C#: http://support.microsoft.com/default...b;EN-US;323246
> Bin Song, MCP
>
lauleicheong | Mon, 26 May 2008 17:07:00 GMT |
I've finally realized where the problem is. The problem, however, is not
shown
on the part I posted.
The missing part is that: The mentioned code is on a large form that there
is not only one button. Therefore except the one which forms' submit action
is linked to others do not get the post data.
Very sorry for my over-simplification of problem.
"Bin Song, MCP" <anonymous...discussions.microsoft.com> bl
news:0D19AB87-8EC0-4562-8732-D9C24C623768...microsoft.com g...
> Hi,
> In order to upload file in ASP.NET and access it in server-side code, you
need:
> 1. Add the enctype="multipart/form-data" name-value attribute to the
<form> tag as follows:
> <form id="Form1" method="post" enctype="multipart/form-data"
runat="server">
> 2. Add runat="server" attribute to the file control.
> <INPUT type=file id=File1 name=File1 runat="server" />
> See details of HOW TO: Upload a File to a Web Server in ASP.NET at:
> VB.NET: http://support.microsoft.com/default...b;en-us;323245
> C#: http://support.microsoft.com/default...b;EN-US;323246
> Bin Song, MCP
>
lauleicheong | Mon, 26 May 2008 17:08:00 GMT |