Exemple #1
0
        /// <summary>
        /// 大二进制文件处理
        /// </summary>
        /// <param name="intFlag"></param>
        /// <param name="intTag"></param>
        private void SaveOrOpenFile(int intFlag, int intTag)
        {
            DataRow dr = ((DataRowView)binSource.Current).Row;

            DataLib.sysClass myClass = new DataLib.sysClass();
            if (intFlag == 0)
            {
                myClass.SaveFileToDr(dr, intTag);
            }
            else
            {
                myClass.LoadFileFromDr(dr, intTag);
            }
        }