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
Stored Proc results not coming out on web page - Visual Web Dev / MSSQL 2008
Help configuring SonicWall Sonicpoint wireless access
Linux command to copy files from locationA to locationB
embedded media player
Windows 7 printing on Citrix Windows Server 2003
Site-to-Site VPN with Cisco 2811 and Checkpoint Firewall R70_30
how many threads can I create
How to choose Internet Wireless for PC Desktop + Different between Cable and Wireless ?
Why "msstd" is necessary in Outlook anywhere?
Deploying perfmon counter logs by group policy GPO