datagridview column naming

  • Thread starter Thread starter Chalkie
  • Start date Start date
C

Chalkie

Hello,

I've hit what appears to be a serious problem with an unbound datagridview control that Ive added to
a VB.Net program. Inadvertently I named one column 'Name' and a second 'Size'. The designer allowed
me to do it but when I came to run the program the designer reported an error and looking at the
error messages it it confusing the datagridview column with the form on which the control resides. I
can't delete the datagridviw because I get the error message whenever I try to access the design
view of the form.

The error highlighted is at the point when the designer is assigning a text value to the form name,
as in Me.Name = "frmForm". It reports that a string value cannot be converted to a
datagridview.textboxcolumn. There is a prior assignemtn of me.name = new datagridviewtextcolumn.


How do I remove the offending column(s) or datagridview ?


Thanks
 
Back
Top