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.

Zelleninhalt auslesen

Empfohlene Antworten

Hallo weiß jemand wie man aus einer jdbTable den Inhalt einer Zelle ausließt?

Hallo,

was ist eine jdbTable? Habe ich noch nie gehört.

Meinst du vielleicht ein ResultSet.

Gruß Jaraz

Also es gibt 2 Tabellenarten

einmal jTable:

Normale Tabelle, gehört zu den swing-klassen

und

jdbTable:

Tabelle mit Datenbankzugriff, gehört zu der db-swing-klasse

Welches JDK?

Beim 1.3.1 gibt es die Klasse nicht.

Gruß Jaraz

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

Nachtrag: Habe mal bei Google nach jdbTable gesucht und gerade mal 309 Hits bekommen.

Es handelt sich wohl um eine Erweiterung von Borland, die nicht sehr häufig benutzt wird.

Entweder du ließt die Docs der API oder du schreibst die Verwaltung und Anzeige der Datenbankanfrage selber.

Gruß Jaraz

An alle die es interessiert, wie man den Ihnahlt einer Zelle ausließt: (bei jdbTable, denke aber mal es funktioniert auch bei jTable)

int b, c;

b = jdbTable1.getSelectedColumn();

c= jdbTable1.getSelectedRow();

System.out.println(jdbTable1.getValueAt(c, B));

OK, vielen Dank für eure Hilfe!!

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.