/ Published in: C#
Expand |
Embed | Plain Text
<% if (Request.Files.Count > 0) { if (Request.Files[0].FileName.Length > 0) { Request.Files[i].SaveAs("c:\\" + Request.Files[0].FileName); } } %> <form action="" method="post" enctype="multipart/form-data"> <label for="file">Audio Pronunciation (MP3 Format)</label> <input id="file" name="file" runat="server" type="file" /> </form>
Comments
Subscribe to comments
You need to login to post a comment.

where does the 'i' variable get a value? Shouldn't that have been a zero?