Dim Threshold As String = ds.Tables(0).Rows(0).Item("Threshold").ToString()
Dim Reset As String = ds.Tables(0).Rows(0).Item("Reset").ToString()
Dim Duration As String = ds.Tables(0).Rows(0).Item("Duration").ToString()
txtSpinThreshold.Text = Threshold
txtSpinReset.Text = Reset
txtSpinDuration.Text = Duration