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
110
UltraDataSource vs BindingSource
posted

Can you please explain the purpose of the UltraDataSource and why one would use it instead of the standard WinForms BindingSource ?

Thank you,

Craig

  • 48586
    posted

    Hi,

     

    I just wanted to know if you were able to solve your issue based on Mike's suggestions or you still need help? Just let me know.

    Thank you.

  • 469350
    Suggested Answer
    Offline posted

    Hi Craig,

    There's really no comparison between UltraDataSource and a BindingSource. They are two completely unrelated functionalities.

    The BindingSource is simply a wrapper for some other data source, like a DataSet or a BindingList<T>, which provides some extra support for data binding.A BindingSource is useless by itself.

    If you are doing a comparison, you would compare UltraDataSource to other data sources like a DataSet, DataTable, or BindingList<T>.

    UltraDataSource is generally a bit faster than a DataSet or DataTable, since it's relationships are defined up-front. It's useful if you want to bind a grid to a fixed set of Data that you define in code, and does not come from a database.

    It also has load-on-demand functionality, so it's useful in cases where you don't want to load all of the data into memory at once.

    A DataSet, on the other hand, has lots of database-related functionality. It tracks changes for you so that you can update the back end.