Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Binding Datatable to Grid with columns.
posted

I have a grid where I have defined a band and columns at design time and I want to bind a datatable to this grid at runtime. I have the same number of columns in the grid and the daatable. I have set the BaseColumnName property to the columnnames in the datatable and set the Band key and tablename in the datatable as same. When i run the app I get data from the datatable in the corresponding columns in the grid as expected but it then adds all the columns in the datatable to the end once again. So I end up with 2 sets of columns. Any ideas as to what Im doing wrong and how to fix this ?

Thanks.