Microsoft
Software
Hardware
Network
Question : Read all data from a datagridview and copy it to a public array or something like that...
Hi folks!
I got a Datagridview with 4 columns in total. How do I pass all the contents of it into a public array or any easy-to-read list?
My idea is to use that array to perform different windows file system operations like copy and paste and the paths for all file locations will be inside the array. Any Ideas?
Thanks in Avance,
Angel
Answer : Read all data from a datagridview and copy it to a public array or something like that...
If you want to capture cells do like this:
Dim c As DataGridViewSelectedCellCo
llection = DataGridView1.SelectedCell
s
For i = 0 To c.Count - 1
Dim
s
As String = c(i).Value.ToString()
Next
Random Solutions
How to get query cretaed by the prepare statement in PDO
Anyway to search a large text file without loading it into memory?
Opening files from Windows Explorer is slow
How to calculate the difference of values in consecutive rows
Owa 2010 Error creating rules and when i click Options (error 400 /owa/auth.owa)
counts records in a query
citrix
Silverlight template in Visual Studio 2008
Create bookmarks for certain sections
Windows 2003 Auto Login after join domain?