随笔分类 -  ASPNET

json。net 序列化 反序列化 转成datatable
摘要:public string GetRepairInfolist(int paper,string swhere) { int startIndex = (paper - 1) * 8 + 1; int endIndex = paper * 8; string jsonData = string.Em 阅读全文

posted @ 2017-11-26 01:22 A欣

json转datatable
摘要:public static DataTable JsonToDataTable(string strJson) { DataTable tb = null; //获取数据 Regex rg = new Regex(@"(?<={)[^}]+(?=})"); MatchCollection mc = 阅读全文

posted @ 2017-09-30 16:49 A欣

asp.net登录票据验证
摘要:* 1.设置<authentication mode="Forms"/> * 2.票据数据保存在cookie中,Logout就一直处于登录状态。 using System;using System.Collections.Generic;using System.Text;using System. 阅读全文

posted @ 2017-09-25 11:08 A欣

导航