XmlFlashSet xfs=Components.XmlFlashSetInfo.LoadXmlFlashSetItems("defaultfoot.xml");
ArrayList arr = new ArrayList();
arr = xfs.Items;
CnqsqWeb.Manager.Info.XmlFlashSets.XmlFlashCompare xfc = new CnqsqWeb.Manager.Info.XmlFlashSets.XmlFlashCompare();
arr.Sort(xfc);
string mmm = "";
//arr里放的是一张表,arr.count看表里有多少条记录
for(int i = 0 ; i < arr.Count;i++)
{
XmlFlashSet xf = arr[i] as XmlFlashSet;
mmm += "<a href=\""+xf.Link+"\" target=\"_blank\"><img src=\""+xf.Item_Url+"\" alt=\""+xf.ItemTitle+"\"></a>";
}
ArrayList arr = new ArrayList();
arr = xfs.Items;
CnqsqWeb.Manager.Info.XmlFlashSets.XmlFlashCompare xfc = new CnqsqWeb.Manager.Info.XmlFlashSets.XmlFlashCompare();
arr.Sort(xfc);
string mmm = "";
//arr里放的是一张表,arr.count看表里有多少条记录
for(int i = 0 ; i < arr.Count;i++)
{
XmlFlashSet xf = arr[i] as XmlFlashSet;
mmm += "<a href=\""+xf.Link+"\" target=\"_blank\"><img src=\""+xf.Item_Url+"\" alt=\""+xf.ItemTitle+"\"></a>";
}
_xfs数据集,_xfs.Items其中的一张表 arr中存一个个对象,即一条条记录,即一张表
public class QsqAdminLogSet:Components.Collections
{
public QsqAdminLogSet (){}
public override void Add(IDataReader dr)
{
QsqAdminLog log =new QsqAdminLog(dr);
this.Items.Add(log);//arr.add(对象)
}
}
----------------------------------------
arr=dp.GetBankDKOnType(9,2,true).Items== _xfs.Items;
if(arr.Count>0)
{
this.RelationRepeater.DataSource=arr;
this.RelationRepeater.DataBind();
}
{
public QsqAdminLogSet (){}
public override void Add(IDataReader dr)
{
QsqAdminLog log =new QsqAdminLog(dr);
this.Items.Add(log);//arr.add(对象)
}
}
----------------------------------------
arr=dp.GetBankDKOnType(9,2,true).Items== _xfs.Items;
if(arr.Count>0)
{
this.RelationRepeater.DataSource=arr;
this.RelationRepeater.DataBind();
}