protected void btnImport_Click(object sender, EventArgs e)
    {
        string msg = string.Empty;

        try
        {
            ProductImageImporter importor = new ProductImageImporter();
            //importor.CheckWithDatabase = true;
        IList<ImageInfo> imported=    importor.ImportImage(ProductImages_ToImport, ProductImages_OriginalPath, out msg);

            msg =msg+Environment.NewLine
                + "导入" + imported.Count + "张" + Environment.NewLine;
            tbxMsg.Text = msg;
        }
        catch (Exception ex)
        {
            tbxMsg.CssClass = "error";
            tbxMsg.Text = ex.Message;
            if (ex.InnerException != null)
            {
                tbxMsg.Text += Environment.NewLine + ex.InnerException.Message;
            }
        }
    }
 private void Import()
 {
     ProductImageImporter org = new ProductImageImporter();
     //org.Execute(Server.MapPath("/ProductImages/"),
 }