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.

[ASP + MSSQL]Daten Übergeben

Empfohlene Antworten

Veröffentlicht

Hallo Leute,

ich habe ganz normal in eine HTML Datei ein <form> tag mit Textfeldern und einem Button. Ich habe bereits zugriff auf meine Datenbank und kann auch via SQL Syntax Werte einfügen. Aber:

Wie bekomme ich die Werte, die jemand in die Textfelder schreibt in meine Datenbank übertragen?

Was ich bis jetzt rausbekommen habe ist, dass ich ID's Dimensionieren muss und anschließend mit in den Textfeldern angeben muss.

Kleines Beispiel:


Dim firma


firma = Request("firma")


Firma:

<input type="text" name="firma" ID="firma" size="30" value="">

Aber viel weiter komme ich nun leider nicht mehr. Bis jetzt ist es so, dass die form action so eingestellt ist, dass sie eine neue Datei aufruft, wo ein SQL Statement hinterlegt ist ala:

strSQL = "INSERT INTO Lieferant VALUES (firma)"

Normalerweise muss das "firma" ja in ' ' stehen, allerdings ist das Statement bereits in einem ASP Script (<% %>) was zur folge hätte, dass er "firma" statt den Namen aus dem Textfeld übernimmt.

Ich hoffe ich werde verstanden :)

Kann mir bei meinem Problem jemand weiterhelfen oder anregungen geben?

MFG

Patrick

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.