摘要:
https://www.izhangchao.com/internet/internet_228964.html
阅读全文
posted @ 2021-05-17 17:06
带投一哥
阅读(72)
推荐(0)
摘要:
WindowsIdentity identity = WindowsIdentity.GetCurrent(); string userName = identity.Name; 注:webconfig配置为<authentication mode="Windows"/> IIS身份验证为Windo
阅读全文
posted @ 2020-01-08 16:36
带投一哥
阅读(233)
推荐(0)
摘要:
//FileUpload1是asp.net里文件上传控件的id,加在前台页面 if (!fileUploadExcel.HasFile) { Response.Write("<script>alert('Please select the excel file to import.');</scri
阅读全文
posted @ 2020-01-08 16:28
带投一哥
阅读(1016)
推荐(0)