Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Protected Sub ButtonUploadFile_Click(ByVal sender As Object, ByVal e As System.EventArgs) _ Handles ButtonUploadFile.Click If FileUploadExcel.HasFile Then Try ' alter path for your project FileUploadExcel.SaveAs(Server.MapPath("~/ExcelImport.xls")) LabelUpload.Text="Upload File Name: " & _ FileUploadExcel.PostedFile.FileName & "<br>" & _ "Type: " & _ FileUploadExcel.PostedFile.ContentType & _ " File Size: " & _ FileUploadExcel.PostedFile.ContentLength & " kb<br>" Catch ex As Exception LabelUpload.Text="Error: " & ex.Message.ToString End Try Else LabelUpload.Text="Please select a file to upload." End If End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|look up for 2 numbers of 3||2||33|
|I need to extract city and state from a cell in Excel||6||28|
|Cannot locate cell||15||37|
|Excel file size grew while there isn't any data in it.||3||9|
Join the community of 500,000 technology professionals and ask your questions.