level 7
在vb中tostring表示的是什么意识???谢谢了
2012年03月24日 13点03分
1
level 9
将指定对象转换为字符串.
例如:
Dim S As Integer = 123
Dim result As String
result = S.ToString()
'//output
result = "123"
2012年03月24日 13点03分
2
level 7
哦,谢谢
那我还想问一下
Dim a As Date
a=Today
Me.txtmessage.Text=a显示的结果是当前日期2012/3/24
但是为什么
Dim a As Date
a=Today
Me.txtmessage.Text=a.ToString()现实的结果却是2012/3/24 00:00:00
麻烦了
2012年03月24日 13点03分
3
level 9
这个VB.NET两个不同类型强制转换的时候存在近似取舍或替换.
2012年03月24日 14点03分
4