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.

Empfohlene Antworten

Veröffentlicht

Heyho zusammen,

ich hänge hier grad vor einem Problem und stehe glaub ich auf dem Schlauch.

Google sagt leider auch nichts informatives dazu...

Es geht darum, dass ich in einer SQL Datenbank den Datentyp "Time" für eine Spalte nehme, wo eine, von dem Benutzer festgelegte, Zeit gespeichert werden soll. Der Benutzer gibt diese Zeit in eine TextBox ein. Nun muss ich diesen String ja irgendwie so konvertieren, dass er als "Time" für die Datenbank angenommen wird. Es gibt aber beim konvertieren nur das DateTime, was aber nicht richtig ist. Vb sagt dann nämlich:

Value of type 'Date' cannot be converted to 'System.TimeSpan'.

Es gibt aber nichts von wegen Convert.ToTimeSpan...

weiß da jemand weiter?

Gruß,

Andi

Hey,

danke erstmal für die schnelle Antwort. Ich bin grad noch im Anfangszustand der Ausbildung zum FIAE und habe nochnicht sehr viel Erfahrung.

Eine MaskedTextBox habe ich nicht in der Toolbox, da ich eine Website programmiere (.aspx). Wie gesagt bin noch am Anfang und weiß auch eigentlich nichts mit den ganzen Begriffen wie ASP und sowas anzufangen :P

  • 2 Wochen später...

Kannst du einfach mal deinen Code posten? Plus die Struktur deiner Tabelle.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.