Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

DatGridView in windows application with CheckBox.

$
0
0

Hi.

I have C# windows application. that conatin DataGridView with frist column type is DataGridViewCheckBoxColumn. that grid can contain 5 thousand info and more, i am just select particular Row and save.

What i am doing on save button->

I just go through the loop on entire Grid and get the selected Row. this consumes times if i selected only 5 record from 5 thousand record.

 now What i want on save button->

when user click on cell that time the selected row store my string array. and finnaly i get the all selected record from array through loop.

For this i have searched a event that fire on cell click i.e CellContentClick. but purpose is not slove properly.

Note-> get only those value which has been checked in DataGridView cell.


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>