connection.ConnectionString = " Data Source=Danawa;Initial Catalog=Store;Integrated Security=True" Try connection.Open() cmd = New SqlCommand("DELETE FROM bundle WHERE type = is NUll'" & Me.txtsearchbundle.Text & "' ", connection) ra = cmd.ExecuteNonQuery() MsgBox("Category Are Deleted!!", MsgBoxStyle.Information, "Record Deleted = " & ra) Catch ex As Exception MsgBox("Record Failed to Delete") End Try connection.Close()
"DELETE FROM bundle WHERE type is Null or type = ''"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)