Apr 24, 2009 at 1:52 PM
Edited Apr 27, 2009 at 6:34 AM
I'm trying to get the TableRows out of my DataGridView in WinForms but I keep on getting an error.
Here's the lines I use:
Window KlantenBeheer = app.GetWindow("KlantenBeheer");
Table dgvKlanten = KlantenBeheer.Get<Table>("dgvKlanten");
TableRows rijen = dgvKlanten.Rows;
This results into:
Method threw exception: Bricks.BricksException: Error invokint Table.get_Rows
---> System.NullReferenceException: Reference to an object isn't set to an actual object...
Somehow white doesn't want to get the rows in the dgvKlanten and put them in TableRows rijen.
I work on Windows Vista Ultimate if that matters.
Thanks in advance