摘要: public static string GetRealIP() { string result = System.Web.HttpContext.Current.Request.Headers["Cdn-Src-Ip"]; if(string.IsNullOrEmpty(result)) { re 阅读全文
posted @ 2019-04-11 16:07 磬音 阅读(442) 评论(2) 推荐(1) 编辑
摘要: 1.View部分内容示例如下: <form method="post" enctype="multipart/form-data" action="/Position/ImportExcel" class="form-group"> <input name="file" type="file" id 阅读全文
posted @ 2018-08-07 17:15 磬音 阅读(3187) 评论(3) 推荐(0) 编辑
摘要: protected void btn_Cisco_Click(object sender, EventArgs e) { try { string ip = txt_ip.Value; string community = txt_ttm.Value; string oid = txt_oid.Va 阅读全文
posted @ 2018-04-17 18:05 磬音 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 1.以下是Excel导出的具体功能 protected void btn_Export_Click(object sender, EventArgs e) { string FileID = ""; if (Request.QueryString["fujian"] != null && Reque 阅读全文
posted @ 2018-03-01 15:54 磬音 阅读(802) 评论(1) 推荐(1) 编辑
摘要: 导入命令 : imp YG_XSOA_NEW/kingo@20.14.12.14/XSSJZX file=d:\daochu.dmp full=y 导出命令: exp YG_XSOA_NEW/kingo@20.14.12.14/XSSJZX file=d:\daochu.dmp owner=YG_X 阅读全文
posted @ 2018-03-01 15:40 磬音 阅读(446) 评论(0) 推荐(0) 编辑