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>";
            }

_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();
}

 

 

相关文章:

  • 2021-11-28
  • 2021-10-21
  • 2022-02-02
  • 2022-12-23
  • 2021-04-13
  • 2021-09-09
  • 2021-10-31
猜你喜欢
  • 2022-02-24
  • 2021-08-24
  • 2022-12-23
  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案