Hi
Regards
Asad Naeem
Add the attribute:
[System.ComponentModel.Browsable(false)]
to your property.
As we are using webservices so our proxy classes are auto genereted through wsdl.exe
So it will not be possible for us to set the attribute as you mentioned.
Is there some other way?
Yes, when you bind the grid, don't set the DataSource and DataMember properties explicitly. Instead, call the SetDataBinding method on the grid and pass in the DataSource and DataMember (or null). There is an overload of this method that allows you to specify that you want the grid to ignore columns that don't already exist in the layout.