L
LuvinLunch
Hi,
I’m loading a datagridview and once it’s loaded I’m adding a new
column that combines two of the columns into one. So i’m doing a
string concatenate of two cols into the new column I’ve inserted.
When I debug I can see that the string is populating into the new
column and when I finish debugging I can see that the new column is
inserting into the grid but the column is empty when the grid is fully
loaded. Anyone any ideas why?
Just to confuse me further, the code that creates the new column,
populates it and inserts is called on a different form and works
perfectly. I’ve isolated my page to make sure that I’m calling the
correct grid so it’s not that I’m writing to the wrong grid. I’ve
also tried hard coding a string to the inserted column but it’s not
showing that.
I thought it had to be a setting on the grid that’s not working but
I’ve replaced the non-working grid with the working grid but it’s
still now working.
Could anyone suggest anything I could try as at the moment I’m
stumped?
Thanks
LL
I’m loading a datagridview and once it’s loaded I’m adding a new
column that combines two of the columns into one. So i’m doing a
string concatenate of two cols into the new column I’ve inserted.
When I debug I can see that the string is populating into the new
column and when I finish debugging I can see that the new column is
inserting into the grid but the column is empty when the grid is fully
loaded. Anyone any ideas why?
Just to confuse me further, the code that creates the new column,
populates it and inserts is called on a different form and works
perfectly. I’ve isolated my page to make sure that I’m calling the
correct grid so it’s not that I’m writing to the wrong grid. I’ve
also tried hard coding a string to the inserted column but it’s not
showing that.
I thought it had to be a setting on the grid that’s not working but
I’ve replaced the non-working grid with the working grid but it’s
still now working.
Could anyone suggest anything I could try as at the moment I’m
stumped?
Thanks
LL