我正在使用DataGridView来显示来自SQL数据库的数据。我和datatable和bindingsource一起工作。DataGridView grid = new DataGridView();SqlDataAdapter sda = new SqlDataAdapter= new BindingSource();
grid.DataMember = "
我使用DataGridView来显示PostgreSQL中的行,它工作得很好。现在我想实现的是一个编辑器,它可以在DataGridView中添加、编辑和删除行。在处理程序中,我将插入、更新或删除PostgreSQL数据库中的行。dgOrderLines.CellEndEdit +=
new DataGridViewCellEventHandler(dgOrderLines_
我使用这段代码通过VB.NET和SQL -12删除datagridview中的记录。, MessageBoxButtons.YesNo, MessageBoxIcon.Warning) = Windows.Forms.DialogResult.Yes Then DataGridView.Update()
E