B
bidalah
Hi,
I have a vb.net windows form with a datagrid, and I am simply trying
to click on a row, hit CTRL-C to copy and then CTRL-P to paste it
somewhere else. This works fine for individual cells. When I try it
with an entire row however, I get the following error:
DataGridColumnStyle of '' cannot be used because it is not associated
with a Property or Column in the DataSource.
This error occurs as soon as I hit CTRL-C. Strangely the unhandled
exception occurs at the definition of the parent form ("Public Class
Mainform"), even though the datagrid is located on a child form.
Does anyone know what is going on. I want to be able to copy and
paste whole rows, but even if I can't, I really can't have the users
getting unhandled errors for trying.
Anyone seen this before?
I have a vb.net windows form with a datagrid, and I am simply trying
to click on a row, hit CTRL-C to copy and then CTRL-P to paste it
somewhere else. This works fine for individual cells. When I try it
with an entire row however, I get the following error:
DataGridColumnStyle of '' cannot be used because it is not associated
with a Property or Column in the DataSource.
This error occurs as soon as I hit CTRL-C. Strangely the unhandled
exception occurs at the definition of the parent form ("Public Class
Mainform"), even though the datagrid is located on a child form.
Does anyone know what is going on. I want to be able to copy and
paste whole rows, but even if I can't, I really can't have the users
getting unhandled errors for trying.
Anyone seen this before?