Dim del As new sqlcomand("DELETE members WHERE name="& textbox1.text & "", dbcon) dbconn.open() del.execuenonquery() dbconn.close() Catch ex as Exception Msgbox(ex.tostring) end try
dim del as.new sqlcomand("DELETE members WHERE name='"& textbox1.text & "'", dbcon) dbconn.open() del.execuenonquery() dbconn.close() catch ex as exception msgbox(ex.tostring) end try
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)