Calling dataGridView.Rows.AddRange()

  • Thread starter Thread starter Firona
  • Start date Start date
F

Firona

Hi,

I'm trying to add several rows to a dataGridView. My current code adds
the rows by calling the dataGridView.Rows.Add() method for every row.
I know there is the dataGridView.Rows.AddRange() method which would add
several rows at a time, thus saving resources and time. I've already
searched the internet, but couldn't find any examples of how the method
can be called.

Could anybody provide me with some examples or code how to call the
dataGridView.Rows.AddRange() method?


Thank you,
Firona
 

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