Adding and editing grids with AutoGeneratedColumns

E

et

I still can't get the values from a datagrid with autogenerated columns,
anyone have ideas?

I can display the grid in add or edit mode, but then I cannot retrieve the
values, it tells me I have no columns when I attempt to retrieve a value of
a column or a cell.

Please note that these are autogenerated columns, not bound columns. The
same functions do not work, I have many other grids with bound columns that
work just fine, but they do not work here, such as:
dg.Items(row_index)Cells(column_index).Text

Or maybe I just don't have it in the proper event that can capture the
values?

Thank you for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top