views:

66

answers:

2

Hi,

I can't see DataGridView Properties in my C# program

in Visual studio 2005.

I can see the DataGridView on the Form - but can't see its Properties.

Why ?

Thanks in advance

A: 

With the form designer visible, go to the properties window. Near the top will be a drop down list with all the controls. Try selecting the control from the drop down list rather than from the canvas. This also works well for controls that maybe hidden behind other controls.

vfilby
I select the DataGridView from the drop down list - and i get error that visual-studio stop working and he close. what it can be ????
Gold
My guess is the designer file is corrupted or in is causing the problem. Can you regenerate the form by hand? Another option might be to try to force it to update the designer by going to designer mode editing something and bilding the project. Other voodoo that might help would include restarting Visual Studio as Quintin mentioned.
vfilby
thank's for the help, nothing help... it still the same problem
Gold
Can you try opening this project on another computer? That will tell us if the problem is with the code or visual studio.
vfilby
i try to open on another computer - same problemi have many projects and its work excellent, only in this project i have problem
Gold
Another thing to try, first make a copy of your designer.cs file somewhere safe. Then open up your designer and the designer.cs file, delete the contents of designer.cs and rebuild to trigger vs to rebuild the designer file. You may want to take a look at the build log and post any errors or warnings here. Try opening up the project properties and setting warnings to be treated as errors.
vfilby
A: 

This same thing happened to me because the full path of the project contained an '&'. When I moved the project to a path that did not have an '&' everything worked.

TylerX21