在VB6.0中一些应用在数据查询的字符运算
例如:
dim sqlstr as string
dim num as int
sqlstr="select * from tabel1 where number='" & trim(num) & "'"
这样的运算在VB.net中怎么实现呢?
刚开始学VB.net谢谢指教
例如:
dim sqlstr as string
dim num as int
sqlstr="select * from tabel1 where number='" & trim(num) & "'"
这样的运算在VB.net中怎么实现呢?
刚开始学VB.net谢谢指教
------------------
其他的msdn察看string类
Dim num As Integer
sqlstr = "select * from tabel1 where number='" & Trim(num) & "'"
请问要怎么样才能运行呢