How to let user delete multi rows from the BindingSource
I have in my program datagridview bound it to sql table
Throw Bindingsource
To fill it:
MyTableTableAda ptor.fill(MyDat aset.Mytable);
MyTableBindingS ource.datasourc e = MyDataset;
MyTableBindingS ource.datamembe r = MyDataset;
Datagridview.da tasource = MyTableBindingS ource;
To delete from it:
MyTableBindingS ource. Removecurrent() ;
This only removes one item at the time so how I can let the user delete
multi selected rows
Thank you in advance
I have in my program datagridview bound it to sql table
Throw Bindingsource
To fill it:
MyTableTableAda ptor.fill(MyDat aset.Mytable);
MyTableBindingS ource.datasourc e = MyDataset;
MyTableBindingS ource.datamembe r = MyDataset;
Datagridview.da tasource = MyTableBindingS ource;
To delete from it:
MyTableBindingS ource. Removecurrent() ;
This only removes one item at the time so how I can let the user delete
multi selected rows
Thank you in advance
Comment