• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

How to get All records from DataGridView

Hello Dear
How to get All records from DataGridView. I have datagridview bound with multiple datatable. I want to get all records of datagridview into new Datatable on button pressing.
0
MuhammadAdil
Asked:
MuhammadAdil
1 Solution
 
nayernaguibCommented:
The DataGridView.Rows collection contains the rows that the DataGridView currently holds. For example, DataGridView.Rows[0] represents the first row, DataGridView.Rows[0].Cells[0] represents the first column of the first row,  and so on...

_______________

  Nayer Naguib
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now