public static void updateTempalteFile(String fileName)
        {
            OpenFileDialog ofd = new OpenFileDialog();

            ofd.Title  = "请选择文件";
            ofd.Filter = "(*xlsx;*.xls;*.docx;*.doc;*.pdf)|*xlsx;*.xls;*.docx;*.doc;*.pdf";
            //ofd.ShowDialog();
            if (ofd.ShowDialog() == DialogResult.OK)
            {
                Byte[] byteArray = FileBinaryConvertHelper.File2Bytes(ofd.FileName);
                String str       = Convert.ToBase64String(byteArray);
                //int i = DBUtil.ExecuteSQL("UPDATE task_template SET task_template_file = '" + str + "',task_template_file_name='" + ofd.SafeFileName + "' WHERE task_template_name = '" + this.barTaskTemplate.EditValue + "'");
                int i = DocService.UpdataMoBan(str, ofd.SafeFileName, fileName);
                if (i != 0)
                {
                    MessageBox.Show("上传成功");
                }
            }
        }