string sql0 = string.Format("Update active Set elapsed_time = 0, pretime = 0");
                    MySqlCommand cmd0 = new MySqlCommand(sql0, myConnection);
                    activeadaper.UpdateCommand = cmd0;
                    DataRow[] topudates = workflow.Tables["active"].Select("id=1");                    //topudates[0]["pretime"] = 0;
                    activeadaper.Update(workflow.Tables["active"]);红色那句咋出现错误未将对象引用设置到对象实例