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
229
Binding to an adodb.recordset?
posted

I'm converting a project from VB6 to VB.net.  I use to use the 'UltraGrid' and ran into trouble where in VB.NET the cells in an axUltraGrid can't be edited.  So I am attempting to replace with UltraWinGrid.

However I'm having issues binding my data to the grid.  All data binding happens in code so to there are no form objects for datasources or any of that jazz.

==

dim adors as new adodb.recordset

adors.open "SELECT * FROM Accounts", CONN

ultragrid1.datasource = adors

===

What I get is a grid showing me the adodb properties.  I tried messing with Infragistics.Win.UltraWinDataSource.UltraDataSource and System.Windows.Forms.BindingSource attaching them to the adors, without success.

 

Any suggestions / pointers?