Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3455
Multiple row selection in a wingrid
posted

Hi,

I have to know how multiple row selection in wingrid is possible and how these selected rows are get through code

 

 

Regards,Pgr2007

 

  • 325
    posted

    For multiple row selection , set MultiSelect property = true.

    To get the selected rows,

    foreach (DataGridViewRow row in dataGridView1.SelectedRows)

    {

     

     //Operation to be performed

    }