如何在使用DataGridView.DataSource = DataSet.Table時修改DataGridView中的DataGridViewColumn?在DataGridView中使用DataSet並修改DataGridViewColumn
OleDbConnection connection = new OleDbConnection(...);
OleDbDataAdapter adpCustomer = new OleDbDataAdapter(..);
DataSet dsCustomer = new DataSet();
adpCustomer.Fill(dsCustomer, "customer");
DataGridView dgv = new DataGridView();
dgv.DataSource = dsCustomer.Tables[0];
// TODO: modify columns to use combobox, checkbox etc.. how?
在此先感謝。