public static bool UpdateAllFieldSummaryDetail(String str)
        {
            try
            {
                SummaryDetailDAO dao = new SummaryDetailDAO();

                String[] strArr = str.Split('~');
                for (int i = 0; i < strArr.Length; i++)
                {
                    IDictionary<string, string> myDic = new Dictionary<string, string>();

                    String[] strData = strArr[i].Split(';');
                    for (int j = 0; j < strData.Length; j++)
                    {
                        String[] strObj = strData[j].Split(':');
                        myDic.Add(strObj[0].Trim(), strObj[1].Trim());
                    }

                    dao.updateAllField(myDic);
                }

                return true;
            }
            catch (Exception ex)
            {
                return false;
            }
        }
        public static bool UpdateFieldSummaryDetail(String id, String key, String val)
        {
            try
            {
                //Thread.Sleep(4000);
                SummaryDetailDAO dao = new SummaryDetailDAO();
                dao.updateField(id, key, val);

                return true;
            }
            catch (Exception ex)
            {
                return false;
            }
        }