我的问题是如何显示从 SQL 数据库导入的由分钟和秒组成的运行计时器。我已经导入了它,但是如何在标签中显示计时器?
sqlq = "Select Duration from XYZ where ID = 20"
sda = New SqlDataAdapter(sqlq, conn)
sda.Fill(ds)
_timer = ds.Tables(0).Rows(0).Item("Duration")
Timer1.Interval = _timer * 60000
Timer1.Enabled = True
Timer1.Start()