Hello,
I have implemented a datasource and datamember to display the data into the grid.
On my windows 7 PC everything works ok. The datasource and datamember is applied. When I run the application directly or from my Visual studio the datamember is not applied.
I have implemented a datasource and datamember to display the data into the grid.
On my windows 7 PC everything works ok. The datasource and datamember is applied. When I run the application directly or from my Visual studio the datamember is not applied.
With Me.rdGridBoundaries
.BeginUpdate()
.Columns.Clear()
.MasterTemplate.AllowAddNewRow = False
.MasterTemplate.AutoGenerateColumns = True
.MasterTemplate.Reset()
.TableElement.RowHeight = 30
.AutoGenerateHierarchy = True
.UseScrollbarsInHierarchy = False
.MultiSelect = False
.MasterTemplate.BestFitColumns()
.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill
.ReadOnly = True
.EnableFiltering = False
.EnableGrouping = False
.EnableAlternatingRowColor = True
.EndUpdate()
Try
If gasControlLineInformation.GclObjects IsNot Nothing Then
.DataMember = "GclObjects"
.DataSource = gasControlLineInformation