PC Review


Reply
Thread Tools Rate Thread

Calling dataGridView.Rows.AddRange()

 
 
Firona
Guest
Posts: n/a
 
      29th Nov 2007
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling List<T>.AddRange with Reflection.Emit Arturo Martinez Microsoft Dot NET 0 11th Nov 2008 05:30 AM
dataGridView.Rows.Count and datagridview.RowCount SePp Microsoft C# .NET 1 15th Jan 2008 10:27 AM
DatagridView and new rows =?Utf-8?B?SmFtZXMgQ3Vsc2hhdw==?= Microsoft Dot NET 0 23rd Aug 2007 02:26 PM
DataGridView Rows Wallace Pipp Microsoft C# .NET 0 21st Feb 2006 07:52 PM
DataGridView rows ? Jarod Microsoft C# .NET 0 19th Dec 2005 11:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:14 PM.