public string GetText(string paramName) { string val = ""; if (ShopSignList != null) { //val += ShopSignList.ForeachToString(",", tar => { return tar.ShopName; }); StringBuilder sb = new StringBuilder(); for (int i = 0; i < ShopSignList.Count; i++) { ShopSignVO ssv = ShopSignList[i]; if (string.IsNullOrEmpty(ssv.m_strShopShowName)) { ssv.m_strShopShowName = m_sm.GetShopTypeByCode(ssv.ShopCode); } if (ssv.m_txtShop == null) { m_sm.GetShopTexByCode(ssv.ShopCode, ssv.CellNum, (tx) => { ssv.m_txtShop = tx; }); } sb.Append(ssv.m_strShopShowName); sb.Append(","); } val = sb.ToString(); } return(val); }