将字符串值转换为整数

时间:2016-11-29 09:45:29

标签: vb.net converter

如何将字符串select max转换为整数,谢谢

Sub locking()
    Dim nomortrans As Integer
    Dim SQL As StrinG
    SQL = "select MAX(s_nomor_trans) from tblpos_trans_nomor"
    Proses.ExecuteNonQuery(SQL)
    frm_pos.LblNomorTransaksi.Text = SQL 
    frm_pos3.LblNomorTransaksi.Text = SQL 
End Sub

0 个答案:

没有答案