Ich verzweifel echt daran...könntest du mir vielleicht eine kleine hilfestellung geben..
lg phillip
lg phillip
Dim con As SqlConnection = New SqlConnection("server=blackbox\rootbox;database=rootboxdb;integrated security=true") Dim sqlbefehl As String = " DELETE FROM kundendaten WHERE Firma =" & "'" & ListBox1.SelectedItem & "'" Dim cmd As SqlCommand = New SqlCommand(sqlbefehl, con) con.Open() cdo.ExecuteNonQuery()
Dim dele As String = ListBox1.Text Dim con As SqlConnection = New SqlConnection("server=blackbox\rootbox;database=rootboxdb;integrated security=true") Dim sqlbefehl As String = " DELETE FROM kundendaten WHERE Firma =" & "'" & dele & "'" Dim cmd As SqlCommand = New SqlCommand(sqlbefehl, con) con.Open() cmd.ExecuteNonQuery()
Comment