User Profile

Collapse

Profile Sidebar

Collapse
ericthered
ericthered
Last Activity: Oct 30 '07, 02:42 AM
Joined: Nov 18 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ericthered
    replied to Create a offline database
    in .NET
    Ok I have resolved the issue with two lines of code.

    Remove line 18
    Code:
    dtOffLine.AcceptChanges()
    And add a line after line 2

    Code:
    Dim builder As SqlCommandBuilder = New SqlCommandBuilder(da)
    Thanks
    See more | Go to post

    Leave a comment:


  • ericthered
    started a topic Create a offline database
    in .NET

    Create a offline database

    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?
    ...
    See more | Go to post

  • Ok managed to work it out.


    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

    x.Name = arrTranslationT ables(T) + m_ControlCount. ToString()
    x.Text = arrTranslationT ables(T)...
    See more | Go to post

    Leave a comment:


  • ericthered
    started a topic VB.NET Loop through buttons to assign values
    in .NET

    VB.NET Loop through buttons to assign values

    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
    ...
    See more | Go to post
No activity results to display
Show More
Working...