Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VB.net| Aus dem Dataset SQL Datenbank updaten

Empfohlene Antworten

Hi

folgendes Problem

ich habe ein DataGrid welches als Source ein Dataset hat.

Ich mach dann im DataGrid änderung und diese werden ins Dataset übernommen. Jetzt sollen die änderungen natürlich auch in die Datenbank übernommen werden.

----------------------------

Dim contest As New SqlClient.SqlConnection

contest.ConnectionString = "workstation id=computername;packet size=4096;integrated security=true;data source=computername;persist security info=False;initial catalog=Kundendb"

Dim adaptertest As New SqlClient.SqlDataAdapter("select * from kundendaten", contest)

Dim testdataset As New Dataset

'setdata ist ein globales Dataset

testdataset = setdata

contest.Open()

adaptertest.Update(testdataset)

contest.Close()

-----------------------------

so er führt das jetzt alles aus aber es passiert nichts. Auch keine Fehler

Hat das jemand mal gehabt bzw. hat die adapter.update Methode mal erfolgreich genutzt? :D

Danke und Gruß Tobi

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.