摘要: flash读取xmlFileInfo file = new FileInfo(Server.MapPath("pelist.xml")); XmlTextWriter textWriter = new XmlTextWriter(Server.MapPath("pelist.xml"), Encoding.UTF8); textWriter.WriteStartDocument(); textWriter.WriteStartElement("persons"); if (mList != null) { foreach (Membe 阅读全文
posted @ 2011-05-19 16:52 红鲤鱼与驴与绿鲤鱼 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 背景:实体数组中有多个实体,实体a中name属性值:a,b,c 实体b中name属性值a,c 实体c中name属性值:d根据一个值查找出数组中的所有数据,即:根据a查找出实体a和b放到list中,根据d查找出实体c放到list中//username:即根据某个值//work.Members:实体中的属性(上面的name)protected List<TeamWorkInfos> GetCacheWorkListByusername(string username) { List<TeamWorkInfos> mlist = new List<TeamWorkInf 阅读全文
posted @ 2011-05-19 15:45 红鲤鱼与驴与绿鲤鱼 阅读(607) 评论(0) 推荐(0) 编辑