示例#1
0
文件: CGrid.cs 项目: phinamcn03/ttdk
        /// <summary>
        /// public function
        /// </summary>
        /// <param name="templateid"></param>
        /// <param name="language"></param>
        /// <returns></returns>
        private static string GetGridConfig(int userId, int gridId)
        {
            string ret = "";

            try
            {
                string        inputValue = string.Format("<InputValue UserID='{0}' GridID='{1}' />", userId.ToString(), gridId.ToString());
                CGridConfig[] lst        = service.GetGridConfig(inputValue);
                foreach (CGridConfig cfgtable in lst)
                {
                    ret += cfgtable.ToString();
                }
            }
            catch (Exception ex)
            {
                CLogManager.WritePL("PMSA.iMarkets.Presentation.WebApp.Mods.PriceBoard.Class.GetGridConfig", ex.Message);
            }
            return(ret);
        }