Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Row in datagrid does not excist

Status
Not open for further replies.

BoFenger

Programmer
Aug 6, 2003
22
DK
Hello VB
I have a dataset that I load into a datagrid, when I write a new line in the datagrid and try to save the changes i get an error "there is no row at position 11". Only if I changes to a different row, the saving is accepted. It is like the row is not created. Does someone know how the row is created without leaving the row I am writing in?

Dim changeddataset As New DataSet
changeddataset = returdatasetBo.GetChanges 'returdatasetBo is the dataset that is loaded to the datagrid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top