menu
more_vert

ASP.NET补充

作者:dayu

using System.Collections.Generic;

 Dictionary<string, string> dicB = new Dictionary<string, string>() 
                {
                  {"B1",""},{"B2",""},{"B3",""},{"B4",""},{"B5",""},
                  {"B6",""},{"B7",""},{"B8",""},{"B9",""},{"B10",""}
                };

当使用字典类时,循环

                foreach (KeyValuePair<string, string> item in dicB)
                {
                    wth.UseBookmark(doc, item.Key, item.Value);
                }

ASP.NET补充

原文地址:http://www.cnblogs.com/Sea1ee/p/7244703.html