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 :)
I've a problem with the InsertAt method in vb.net.
Code:
Private Sub insertrow()
Dim var As DataRow
var = tTable.NewRow
var("cColumn1") = ""
dim row as short = DataGrid1.CurrentCell.RowNumber
tOrderitems.Rows.InsertAt(var, row)
tOrderitems.AcceptChanges()
end sub
Problem:
The new row is insterted just fine, but when put data in the new row, on validation the entered data is parsed on the last row of the datagrid en en the new instered row is blank again?
Annyone an idea what i'm missing here ?
Thanks in advancde,
Allesandro
ADAdministrator Syncfusion Team March 9, 2004 08:34 AM UTC
> Hello :)
>
> I've a problem with the InsertAt method in vb.net.
>
> Code:
>
> Private Sub insertrow()
> Dim var As DataRow
> var = tTable.NewRow
> var("cColumn1") = ""
> dim row as short = DataGrid1.CurrentCell.RowNumber
> tOrderitems.Rows.InsertAt(var, row)
> tOrderitems.AcceptChanges()
> end sub
>
> Problem:
> The new row is insterted just fine, but when put data in the new row, on validation the entered data is parsed on the last row of the datagrid en en the new instered row is blank again?
>
> Annyone an idea what i'm missing here ?
>
> Thanks in advancde,
>
> Allesandro