<div style="width: 180px; float: right;"> <asp:FileUpload ID="fileUpload" runat="server" /> <asp:Button id="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" CssClass="button"/> </div> <pre lang="cs">protected void btnUpload_Click(object sender, EventArgs e) { if (fileUpload.HasFile) { } }</pre>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)