I use dotconnect 5.25.39 and DXperience 9.1.4 for ASP.NET and in ASPxGridView I'm unable to retrieve columns.
I do not know which assembly causes this mail function, Devart or DevExpress.
Please make a investigation, if dotConnect causes this.
With SqlDataSource it works properly
retrieve columns in DevExpress ASPxGridView
I am able to reproduce the issue with the Columns property of ASPxGridView (it remains empty) only in the case if if OracleDataSource is assigned to ASPxGridView first, and then OracleDataSource (connection string and select query) is initialized. If you were doing it in that way, please reassign again OracleDataSource to ASPxGridView after OracleDataSource initialization to fill columns collection of ASPxGridView. Does this resolve the problem?
Sorry, I'm unable to do it during design time on 3 machines
1 I add Grid
2 I add OracleDatasource
2.1 connectstring
2.2 select command, show data
2.3 preview data
3 set in grid datasource
3.1 go to columns
this is the result
my workaround is to use a MS SQLdatasource, connect, create fields and copy columns to ASPxGridView in sourcecode.
but this makes no satisfaction to me.
Can you reproduce it on my way ?
1 I add Grid
2 I add OracleDatasource
2.1 connectstring
2.2 select command, show data
2.3 preview data
3 set in grid datasource
3.1 go to columns
this is the result
Code: Select all
Unbenannte Seite
but this makes no satisfaction to me.
Can you reproduce it on my way ?