public void CopyFrom( LOG struFrom )
 {
     ID = struFrom.ID;
     CreateDate = struFrom.CreateDate;
     Creator = struFrom.Creator;
     Type = struFrom.Type;
     Action = struFrom.Action;
     Param = struFrom.Param;
     Remark = struFrom.Remark;
 }
        /// <summary>
        /// Get Modify Log
        /// </summary>
        /// <returns></returns>
        public string GetLogStr( LOG struOrg )
        {
            if ( struOrg.ID == String.Empty )
                return String.Empty;

            string strRet = String.Empty;
            ArrayList ary = new ArrayList();

            if ( CreateDate.Trim() != struOrg.CreateDate.Trim() )
                ary.Add( String.Format( "[CreateDate]: {0} => {1}", struOrg.CreateDate, CreateDate ) );

            if ( Creator.Trim() != struOrg.Creator.Trim() )
                ary.Add( String.Format( "[Creator]: {0} => {1}", struOrg.Creator, Creator ) );

            if ( Type.Trim() != struOrg.Type.Trim() )
                ary.Add( String.Format( "[Type]: {0} => {1}", struOrg.Type, Type ) );

            if ( Action.Trim() != struOrg.Action.Trim() )
                ary.Add( String.Format( "[Action]: {0} => {1}", struOrg.Action, Action ) );

            if ( Param.Trim() != struOrg.Param.Trim() )
                ary.Add( String.Format( "[Param]: {0} => {1}", struOrg.Param, Param ) );

            if ( Remark.Trim() != struOrg.Remark.Trim() )
                ary.Add( String.Format( "[Remark]: {0} => {1}", struOrg.Remark, Remark ) );


            foreach ( string str in ary )
            {
                strRet += str + System.Environment.NewLine;
            }

            return strRet;
        }
        public static List<Stru.LOG> Dt2List( ref DataTable dt )
        {
            List<Stru.LOG> lst = new List<LOG>();

            if ( SQL.IsNotValid( ref dt ) )
                return lst;

            foreach ( DataRow dr in dt.Rows )
            {
                Stru.LOG stru = new LOG();
                stru.Dr2Stru( dr );
                lst.Add( stru );
            }

            return lst;
        }