I'm a newbie with Linq to SQL. I have been playing with various data situations and then binding to an UltraGrid.
I found that the following syntax worked:
UltraGrid.DataSource = System.Data.Linq.Table(Of TEntity)
but this syntax did not:
UltraGrid.DataSource = System.Data.Linq.EntitySet(Of TEntity)
After much deliberation, I found that this syntax did work:
Dim ds As New BindingSourceds.DataSource = System.Data.Linq.EntitySet(Of TEntity)UltraGrid.DataSource = ds
Being able to bind directly to an EntitySet(Of TEntity) would be helpful no?
Hello,
Could please take a look at the following link from our documentation regarding the 'DataSource' property of the UltraWinGrid control:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/Infragistics2.Win.UltraWinGrid.v11.1~Infragistics.Win.UltraWinGrid.UltraGridBase~DataSource.html.
Please do not hesitate to contact us if you need any additional assistance.