We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

[VB.NET] Datagrid InsertAt problem

Thread ID:

Created:

Updated:

Platform:

Replies:

711 Aug 4,2002 11:19 AM UTC Mar 9,2004 08:34 AM UTC WinForms 1
loading
Tags: FAQ
Allesandro Biaggio
Asked On August 4, 2002 11:19 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

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;