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
855
Workaround for slow grid in VS2005
posted

The workaround in the docs is:

Object dataSource;

String dataMember;

BindingSource bindingSource = new BindingSource( dataSource, dataMember );

this.ultraGrid1.DataSource = bindingSource;

 

currently my code for binding is

ultraGrid1.DataSource = m_ds.Tables[0].DefaultView;

where m_ds is a dataset. 

What should my dataSource and dataMember be?

Thanks.

-Nick

 

Parents
No Data
Reply
  • 1922
    posted

    Hi Nick,

    dataSource: your DataSet

    dataMember: Name of your Datatable

     if this doesn't work:

    dataSource: your DataTable

    dataMember: empty

Children
No Data