Hello can someone teach me how to delete the selected item in data grid?
please i really need it. thanks.
Hello can someone teach me how to delete the selected item in data grid?
please i really need it. thanks.
There's a property for the datagrid called AllowDelete. Set that property to True.
Otherwise, it will not allow the user to delete data.
you can use this code: hope it works.
set conn = new adodb.connection
conn = "your connection string"
set rs = new adodb.recordset
rs.open "Delete * from tablename where columnname = '" & Listview1.listitems.text & "',conn,3,3
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.