I am using XtraGrid Control to Display some dynamic data. I simply Bind xtragrid control with DataSource which contains different columns and number of columns each time according to user clicks. The problem I am facing is that first time grid shows correct columns but later on columns remain same even if doesnot exist in datasource. I also have tried by refresh() my grid but still same.
please guide me the way that how can I make my grid to display correct columns each time.