摘要:
WindowsIdentity identity = WindowsIdentity.GetCurrent(); string userName = identity.Name; 注:webconfig配置为<authentication mode="Windows"/> IIS身份验证为Windo 阅读全文
posted @ 2020-01-08 16:36
带投一哥
阅读(233)
评论(0)
推荐(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)
推荐(0)
浙公网安备 33010602011771号