datagridview column naming

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
 

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

Top