部分程序如下:
private ArrayList GetDataSource()
{
CMS.BLL.KindManage km = new CMS.BLL.KindManage();
string[] KindIDList = this.ServiceRootKindID.Split(',');
System.Collections.ArrayList al = new ArrayList();
for (int i = 0; i < KindIDList.Length; i++)
{
al.AddRange(km.GetChildKindList(Convert.ToInt32(KindIDList[i])));
}
if al.
km.Dispose();
return al;
}
我想在红色出判断是否名称有相同的,都谢了!