Hi
Im converting a VB6 application to .NET. The VB6 app used a VideoSoft Flexgrid control and my VB.NET app uses the Component One Flexigrid.
When I click a cell in the left most column of my order form I want the drop down to show two columns 'ProductId' and 'Description'. When I have selected the product I want only the productId displayed in the cell.
The VB6 app reads from an Access db where as the VB.NET app reads from SQL Server 2005. The tables have exactly the same info in them (copied from Access to SQL).
The problem is the VB6 (what the users are used to) shows the list within a second, the VB.NET waits about 7 seconds before the list is shown.
The code I am using to set up the grid is:
flgOrders.Cols.Item(PRODUCT_COLUMN).Width = 75
flgOrders.Item(0, PRODUCT_COLUMN) = "Product Id"
Dim map As C1.Win.C1FlexGrid.MultiColumnDictionary
Dim cols() As String = {"ProductId", "Description"}
map = New C1.Win.C1FlexGrid.MultiColumnDictionary(Me.CreamDS.Product, "ProductId", cols, 0)
flgOrders.Cols(PRODUCT_COLUMN).DataMap = map
This actual loading doesnt take a long time, it is showing the products that is unacceptable.
Can somebody please let me know if there is a better way.
Thanks
Darren