您好:請問
Dim myAdapter As SqlDataAdapter = New SqlDataAdapter 與 Dim x As New SqlDataAdapter()
這樣會有差異嗎?
若要差異,撰寫時要如何判斷 使用
C#與VB也會有差異嗎?
謝謝!
你好,
使用C#和 VB都可以的,根据您的需求所定。
具体请参考:http://msdn.microsoft.com/zh-cn/library/system.data.sqlclient.sqldataadapter(v=vs.80).aspx 。
Roy MSDN Community Support | Feedback to us Develop and promote your apps in Windows Store Please remember to mark the replies as answers if they help and unmark them if they provide no help.