/// <summary>
    /// 保存数据
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void btnSave_Click(object sender, EventArgs e)
    {
        if (this.Lists != null && this.Lists.Count > 0)
        {
            BProductCheckDetailBC bProductCheckDetailBC = new BProductCheckDetailBC();
            try
            {
                if (bProductCheckDetailBC.SaveCheckDetailList(this.Lists))
                {
                    this.ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert(\"导入数据成功!\");", true);
                }
                else
                {
                    this.ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert(\"导入数据失败,请重新导入!\");", true);
                }
            }
            catch (Exception ex)
            {
                this.ClientScript.RegisterStartupScript(this.GetType(), "ShowErr", "ShowErr(\"" + Server.UrlEncode(ex.Message) + "\",3);", true);

            }
        }
        else
        {
            this.ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert(\"导入数据错误,请重新导入!\");", true);
        }
    }