sintaza corecta la foreach intr-un DataGridView in C++/CLI

Intrebari despre limbajul C++/CLI (si versiunile mai vechi MC++), applicatii mixed-mode sau probleme specifice .NET legate de C++.
Post Reply
alfred1111
Junior
Junior
Posts: 8
Joined: 27 Jul 2008, 10:52
Judet: Brăila

sintaza corecta la foreach intr-un DataGridView in C++/CLI

Post by alfred1111 » 08 Aug 2008, 17:46

Hello tuturor
Am nevoie, intr-o Form ce afiseaza o DataGridView, pentru a printa ce afiseaza DataGridView
pe Form sa trec prin toate coloanele acelui grid
In C# am gasit forma
foreach(DataGridViewColumn dgvCol in dataGridView1.Columns)

dar in VC++2005 cum ar fi corect?
Am incercat mai multer variante, exemple nu am gasit, asa ca: HHHEEEEELLLLPPPPPPPPP!
Multumesc anticipat!



neagu_laurentiu
Membru++
Membru++
Posts: 919
Joined: 23 Jul 2007, 11:32

Re: sintaza corecta la foreach intr-un DataGridView in C++/CLI

Post by neagu_laurentiu » 08 Aug 2008, 20:05

alfred1111 wrote:exemple nu am gasit
Cand cauti ceva in legatura cu tehnologiile MS, prima data te duci la MSDN: http://msdn.microsoft.com/en-us/library/ms177202.aspx

Post Reply