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 want to retreive columnheader value which bound for sql in datagrid in asp.net.
I have used the following code for retreiving header text.
dim i as integer
dim j as integer
j=DataGrid1.Columns.count-2
for i = 1 to j
Response.write(DataGrid1.Columns.item(i).HeaderText)
Response.write(DataGrid1.DataGridItem.Items(i).ItemType)
Next
But it is showing an error at "Response.write(DataGrid1.DataGridItem.Items(i).ItemType)"
I have also tried with Response.write(DataGrid1.columns.Items(i).DataField).But nothing is helpful.How can i get the bound value from Datagrid columns.Thanks in advance.Please help me.