Keep row of datagridview clicked by user selected
Posted
by user367509
on Stack Overflow
See other posts from Stack Overflow
or by user367509
Published on 2010-06-15T16:50:16Z
Indexed on
2010/06/15
16:52 UTC
Read the original article
Hit count: 155
c#
Hi All,
I need the snipped code in C# to mantain selected the row from a datagridview after that row is double clicked.
Right now I'm displaying data from a dataset and the selection mode is FullRowSelect. Any way to set this?
There are two scenarios to deal with: 1) Everytime the timer ticks the selected row always go to the first row of datagridview. 2) Once a row is clicked, it is selected but after the timer ticks the selected row goes to the first one.
Thanks for your help!
A newbie programmer
© Stack Overflow or respective owner