示例#1
0
        public void SaveColumnWidth(List <SheetWidthDTO> list)
        {
            SheetWidthDAO dao = new SheetWidthDAO(CommonLib.Common.CurrentDatabase);

            if (list.Count > 0)
            {
                dao.ClearColumnWidth(null, list[0]);

                foreach (SheetWidthDTO obj in list)
                {
                    dao.SaveColumnWidth(null, obj);
                }
            }
        }
示例#2
0
        public List <SheetWidthDTO> LoadColumnWidth(SheetWidthDTO objWidth)
        {
            SheetWidthDAO dao = new SheetWidthDAO(CommonLib.Common.CurrentDatabase);

            return(dao.LoadColumnWidth(null, objWidth));
        }