oledbcommand如下:
        UpdateCommand.CommandText = SearchSql
        UpdateCommand.Connection = MyConnection
        UpdateCommand.Parameters.Clear()
        UpdateCommand.Parameters.Add("@Lb", Trim("" & drpLb.SelectedValue))
        UpdateCommand.Parameters.Add("@Pm", Trim("" & txtPm.Text))
        UpdateCommand.Parameters.Add("@theId", theId)
        UpdateCommand.Parameters.Add("@thePm", thePm)        MyDataReader = UpdateCommand.ExecuteReader
        
        UpdateCommand.CommandText = UpdateSql'执行这句时,提示UpdateCommand正在忙,我不想再定义一个command.要怎么释放updatecommand。让它可以运行我的代码。