62,267
社区成员
发帖
与我相关
我的任务
分享
這是一張精簡后的問卷調查Excel檔
Level1 Level2 Level3 Level4 Description
1 整體(大項)
1 1 Question1.1
1 2 Question1.2
2 操作應用(大項)
2 1 Question2.1
3 服務滿意度
3 1 Question3.
3 2 1 Question3.2.1--刪這項
3 2 2 Question3.2.2
3 2 3 1 Question3.2.3.1
3 2 3 2 Question3.2.3.2
3 3 Question3.3
大致流程是這樣的:
1:將excel導入到Gridview中并顯示出來,Gridview中的每欄都對應上面. (100%)
2.Gridview每行最前有個checkbox (100%)
3.勾選checkbox后按頁面上一刪除按鈕刪除具體的某項,如3.2.1。
這個時候希望3.2.2能變成3.2.1,3.2.3.1變成3.2.2.1,3.2.3.2變成3.2.2.2,3.3不變。
如果我刪除1(整體(大項)),則1.1消失,1.2消失,2(操作應用(大項)變成1),
2.1變成1.1,3(服務滿意度變成2),依此類推
求操作DataTable的思路
L1 L2 L3 L4 Description
1 整體(大項)
1 1 Question1.1
1 2 Question1.2
2 操作應用(大項)
2 1 Question2.1
3 服務滿意度
3 1 Question3.
3 2 1 Question3.2.1--刪這項
3 2 2 Question3.2.2
3 2 3 1 Question3.2.3.1
3 2 3 2 Question3.2.3.2
3 3 Question3.3