Hi,
I am trying to create an offline database in VB.NET 2005, both the online and offline database use SQL Server 2005.
The code I am using seems to run OK with out an exception the DATASET has the records added, but the UPDATE will not update the offline database. (The offline database is empty before I start)
Q1) what am I doing wrong?
Q2) is there a better way of coping data to an offline SQL database? ...
Dim i As Integer
Dim ButtonSizeW As Integer = 50
Dim ButtonSizeH As Integer = 50
Public arrButton As Array = Array.CreateIns tance(GetType(B utton), 7, 10)
Dim x As New Button
For i = 0 To 50
Dim z As Integer = i + 1
Dim x As New Button
I would like to build a loop to change button properties, not using a case select.
Like this:
Dim i As Integer
Dim ButtonSizeW As Integer = 50
Dim ButtonSizeH As Integer = 50
For i = 0 To 50
Dim z As Integer = i + 1
Dim x As New Button
x = "Button" & z ' name of button to change
...
Leave a comment: