Link to home
Start Free TrialLog in
Avatar of deleyd
deleydFlag for United States of America

asked on

VB.net syntax for accessing DataGridView column by name

I need VB.net syntax help. I have a DataGridView, call it dgv, and I want to access the column named "Xyzzy". What's the syntax? Something like:
dgv.Columns["Xyzzy"] = "Hello World"

Open in new window

(I don't have any of my Visual Basic books with me)
ASKER CERTIFIED SOLUTION
Avatar of John (Yiannis) Toutountzoglou
John (Yiannis) Toutountzoglou
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial