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.
Hello,
Am new in using the syncfusion grid control.
I am working in a Windows Forms application using C# and have a collection which contains few rows. I want to bind the data to the syncfusion essential grid(not the bound one). Can any one Pls help me out in this..
Thanks,
Ramesh
ADAdministrator Syncfusion Team August 5, 2004 05:54 PM UTC
You can set gridControl1.RowCount and gridControl1.ColCount. Then you can loop through your data (whatever it is), and set values into the grid using an indexer,
//C#
this.gridControl1[row, col].CellValue = yourDataForCellAtRowCol;
''VB
me.gridControl1(row, col).CellValue = yourDataForCellAtRowCol
The first (top-left) non-header cell in the grid is row = 1, col = 1.
The row loop would be from 1 to grid.RowCount and the col loop would be from 1 to grid.ColCount.
Now there are other ways you can do this. But this is the most straight-forward way.