Line 165: If i = 0 Then
Line 166: cmd.CommandText = "Insert into Warenkorb (SessionNR, KZ, FreierText, Wert, Datum) values ('" + Session_ID + "', 'D', '" + Label1.Text + "', '" + xNR + "', '" + xDatum + "')"
Line 167: cmd.ExecuteNonQuery()
Line 168: Else
Line 169: cmd.CommandText = "Update Warenkorb Set FreierText = '" + Label1.Text + "', Wert= " + xNR + " Where SessionNR= '" + Session_ID + "' and KZ= 'D'"
|