DataGridView

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I don’t want any rows in the DataGridView selected initially on the form
programmed in C#. How can I do it? I have tried to set
DataGridView.CurrentCell = null, but it doesn’t work for me.

Any help is appreciated!
 
I believe you'll have to set the DataSource of the DataGridView to a
DataView and then update the RowFilter property to something that
won't show any records.

Aaron

PS. I'm a newbie, but trying to help :) Something with considerably
more experience may have a better idea.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top