DataSet does not support pivot operations, you probably need to create a new DataTable dynamically based on the previous table, then bind your DataGrid to this new table
解决方案 »
- 如何设置datagridview在javascript中的事件?
- aspx.net 网站程序文件被删除。
- asp.net 列“title”不属于表 Table,实际上“title”字段是存在的。
- DataGird绑定问题
- Response.write問題(在線等待)
- 获取控件的ClientID值,与解析后真正的Name 值不一样
- 技术难题,紧急求助,在线等待,请高手勿必帮帮忙!!!
- 我要访问access 好象那个字符串总是不行。
- 如何给自定义控件设置一个图标?
- 一个dropdowmlist控件以及radiobuttonlist控件的问题
- 怎样将int转化为二进制?
- 鎴戞€庝箞鍔犺祫婧愭枃浠跺晩锛岄珮鎵嬭杩涘叆-->
DataSet ds=new DataSet();
myCommand.Fill(ds,"tablename1");
DataTable tablename2=ds.Tables.Add("Tablename2");
ds.Tables["tablename2"].Rows[j].ItemArray[i]=
ds.Tables["tablename1"].Rows[i].ItemArray[j];试试这个,我猜测着写的,看行不行