110,536
社区成员
发帖
与我相关
我的任务
分享
/// <summary>
4./// 保存
5./// </summary>
6.protected void btnBC_Click(object sender, EventArgs e)
7.{
8. string save_cblJL = "";
9. for (int i = 0; i < this.cblJL.Items.Count; i++)
10. {
11. if (this.cblJL.Items[i].Selected == true)
12. {
13. save_cblJL += this.cblJL.Items[i].Value + ",";
14. }
15. }
16.
17. string[] save_Excel = save_cblJL.Split(',');
18.
19. for (int j = 0; j < save_Excel.Length - 1;j++ )
20. {
21. if (save_Excel[j].Equals("全部记录"))
22. {
23. toExcelClk(gvwjdccx, 3);
24. }
25. else if (save_Excel[j].Equals("当前页"))
26. {
27. toExcelClk(gvwjdccx, 2);
28. }
29. else if (save_Excel[j].Equals("当前记录"))
30. {
31. toExcelClk(gvwjdccx, 1);
32. }
33. }
34.}
/// <summary>
4./// 保存
5./// </summary>
6.protected void btnBC_Click(object sender, EventArgs e)
7.{
8. string save_cblJL = "";
9. for (int i = 0; i < this.cblJL.Items.Count; i++)
10. {
11. if (this.cblJL.Items[i].Selected == true)
12. {
13. save_cblJL += this.cblJL.Items[i].Value + ",";
14. }
15. }
16.
17. string[] save_Excel = save_cblJL.Split(',');
18.
19. for (int j = 0; j < save_Excel.Length - 1;j++ )
20. {
21. if (save_Excel[j].Equals("全部记录"))
22. {
23. toExcelClk(gvwjdccx, 3);
24. }
25. else if (save_Excel[j].Equals("当前页"))
26. {
27. toExcelClk(gvwjdccx, 2);
28. }
29. else if (save_Excel[j].Equals("当前记录"))
30. {
31. toExcelClk(gvwjdccx, 1);
32. }
33. }
34.}
35.#endregion 保存