随笔分类 -  ASP.NET

摘要:登录后存储Session,另一个页面Ajax请求 ashx页面,发现无法获取到Session,Session is NULL 使用“IReadOnlySessionState”这个接口就可以 阅读全文
posted @ 2015-01-12 10:22 Archosaur 阅读(399) 评论(0) 推荐(0)
摘要:arp攻击 阅读全文
posted @ 2013-03-29 14:34 Archosaur 阅读(698) 评论(0) 推荐(0)
摘要:一:在jquery.easyui.min1.3.2下:<input id="field" class="easyui-combobox" data-options="data:[{'id':1,'text':'记录流水号','selected':true},{'id':2,'text':'运营单位代码'},{'id':3,'text':'Pos机号'},{'id': 阅读全文
posted @ 2013-01-12 18:39 Archosaur 阅读(2083) 评论(0) 推荐(0)
摘要:private static Stream ExportDataTableToExcel(DataTable sourceTable, string sheetName) { HSSFWorkbook workbook = new HSSFWorkbook(); MemoryStream ms = new MemoryStream(); ISheet sheet = workbook.CreateSheet(sheetName); IRow headerRow = sheet.Create... 阅读全文
posted @ 2012-08-17 15:49 Archosaur 阅读(3881) 评论(0) 推荐(1)
摘要:获取客户端IP 阅读全文
posted @ 2012-01-16 15:50 Archosaur 阅读(251) 评论(0) 推荐(0)