找了很久才找到的在.NET中生成二维表格的代码,不敢独享,现在就贴出来给大家看看,相信对大家有所帮助. 代码如下: void Page_Load(object o, EventArgs e) ...{ DataTable dt = GetData(); //assume GetData returns the DataTable //probably better to use Hashtable for depts and months too, but to keep the order,
找了很久才找到的在.NET中生成二维表格的代码,不敢独享,现在就贴出来给大家看看,相信对大家有所帮助. 代码如下: 复制代码 代码如下: void Page_Load(object o, EventArgs e) ...{ DataTable dt = GetData(); //assume GetData returns the DataTable //probably better to use Hashtable for depts and months too, but to kee