1
Answer

datagridview and bindinglist

Dewang Lakhani

Dewang Lakhani

14y
4.3k
1
Hi,

This is my first post and i am new to c#. I have a bindinglist<customObject> obj. I am able to show it on the datagridview by doing :- dataGridView.datasource = obj.

How can i fetch the selected rows in the datagridview directly as (customObject) or list of them. I am getting a DataGridViewSelectedRowCollect
ion which I cannot type cast to  bindinglist<customObject>. We are using oracle lite as database. Please help.
Thanks


regards,
Dewang
Answers (1)