i'm having a strange problem with the grid control.
1. i've a grid which is bound to a dataset table
grid.DataMember ="EvaluationMeetingDefinition"
grid.DataSource = "dsEvaluation";
2. a new column has been added to the dataset which is immediately picked up by the grid, now the problem is that i've no control over this new column in the grid, i.e. i change its header caption/position/visibility etc. all is reflected in the VS designer only , but when i compile and run the project the new column appears at the last without the changes. see the image
i put the caption as _Default Status in the designer, but when i run the project, it only takes the name of the datatable's column name i.e. EmdLDefaultStatus.
plz help.
My guess is that your application is loading a layout into the grid at run-time and this overriding any changes you are making to the design-time layout.
any more comments????????
plz help me identify the problem. as i said the MAIN PROBLEM is that i've no control over the last column.
i tried with Default Status , _Default Status , myname, abcd, everythng, i'm trying to hide it by using .Hidden=true , but i don't have any control over this column, it simply appears.
in the below image i've hidden all the column, which reflects in designer
but when the application runs (see the image below), only that column appears
, AND SO FAR I'M ONLY PLAYING WITH DESIGNER , I'VE NOT CHANGED THE CODE A BIT.
do you used _ (under score) as a starting symbol for caption