The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have a bit of a strange one which should be easy to sort but is proving elusive.
I have a form which has a tab control with three tabs and on each tab has a databound grid.
Each grid is to be setup the same as each other but the only difference is the the data table that they point to.
I have a sub routine which handles the formating as shown below (only a snapshot)
The problem is that it only seems to setup the first grid but the other two remain as they are in design mode even though each call is made without error.
Has anyone has had a similar problem?
Private Sub SetupGrid()
Dim oDBGrid As Syncfusion.Windows.Forms.Grid.GridDataBoundGrid
For N As Integer = 1 To 3
Select Case N
Case 1
oDBGrid = gridDBRetainer
Case 1
oDBGrid = gridDBProject
Case 3
oDBGrid = gridDBICincome
End Select
For I As Integer = 0 To oDBGrid.Model.Data.ColCount
Select Case I
Case 0
oDBGrid.Model.ColWidths.SetSize(I, 20)
Case 1
oDBGrid.Model(0, I).Text = "Client"
oDBGrid.Model(0, I).Font.Bold = True
oDBGrid.Model.ColWidths.SetSize(I, 200)
End Case
Next
Next