I am new to UltraGrid so probably a very elementary question...
Running VS 2008 w/ 10.3 Infragistics Net Advantage for WinForms
I have an Oracle database that I added to the Solution Explorer.
Issue #1:
When I create a new Binding Data Source via VS 2008 and bind it to an UltraGrid, it automatically populates the grid. When I bind it to an UltraDataSource using the same dataset, it doesn't do so automatically.
Issue #2:
Even though I have the UpdateMode set, I don't get either DataSource to update automatically. I need to call the TableAdapter to update the Binding Data Source (haven't got the UltraDataSource working, then again I ain't got it to load correctly (see Issue #1).
I hope this is clear enough that you can tell enlighten me why this would happen? I would think ideally UltraDataSource should work better binding to an UltraGrid than a regular DataSource. What is the difference in the two sources in terms of binding and updating?
Thnkx Dankov ... !
Hello,
You could use the ones below instead:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/WinDataSource.html.
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/Win_WinDataSource_Using_WinDataSource.html
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/WinDataSource_Sub_Classing_WinDataSource_to_Represent_a_Business_Class.htmlPlease feel free lo let us know if you could assist you further.
Hi ...
I cant access these links. Please Help me on using UltraDataSource with UltraGrid. I want to bind it with grid. I am fresher with infragistics. So kindly help me ASAP.
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.
A BindingSource and UltraDataSource serve two completely different functions. The BindingSource takes some existing list, such as a DataSet, DataTable, BindingList<T>, or UltraDataSource and wraps it with some extra binding functionality.
The UltraDataSource is more similar to a DataSet. So comparing an UltraDataSource to a BindingSource doesn't really make sense.
If you are binding a grid to data from a DataBase like Oracle, then you are better off using a data source that is intended to work with a database such as a DataSet. I assume that is what you are actually using when you say you are using a BindingSource.
The UltraDataSource does not have any functionality to populate from or work with a database like the DataSet does. It is useful for cases where you want to populate the data in code without using a DataBase. It can also be useful in cases where you want to insert a layer of indirection between your actual data source and the grid, such as when you want to load data on-demand.
UpdateMode refers to the interaction between the grid and the DataSource of that grid. The grid has no involvement in the interaction between the DataSource and the back end (database).