for (int i = 0; i < this.rptNews.Items.Count; i++)
        {
            CheckBox cbx = (CheckBox)rptNews.Items[i].FindControl("cbx");
            Label lbl = (Label)rptNews.Items[i].FindControl("lbl");
            if (cbx != null)
            {
                if (cbx.Checked)
                {
                    delId += lbl.Text + ",";
                                    }
            }
        }//去掉最后一个
        delId = (delId + ")").Replace(",)", "");
        Response.Write("删除的语句是:delete from edit where edit_id= in(" + delId + ")");
        OleDbConnection conn = new OleDbConnection(ConfigurationManager.ConnectionStrings["play"].ToString());
        conn.Open();
        string sql = "delete from edit where edit_id= in(" + delId + ")";
        OleDbCommand ocm = new OleDbCommand(sql, conn);
        ocm.ExecuteNonQuery();
        conn.Close();
        bind();
    }在ocm.ExecuteNonQuery();中指出错误