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
335
Column lost when I use SetDataBinding second time.
posted

 

Hi,

I add two columns in ultragrid named "COL1","COL2" when form Load, and then I binding a datatable dt with only one column named "COL1" ,and SetDataBinding(dt, Nothing, True).  at that time the grid showed data perfectly. and then I create another datatable dt2 with only one column name "COL2", and SetDataBinding(dt2, Nothing, True). Unfortunately, the grid lost the COL1, Why? How to always keep the columns that defined in the Form Load

I use win7/.NET 2010/Vol2013.1

Cheers!

Parents Reply Children
No Data