C
Chris
Hi,
after inserting a record in a DataSet and committing it to the DB using the
sqlDataAdapter.Update(), do I want to set the position of my
currency-manager to the last row in the dataSet (using the same working code
that is executed when I click on a Lastrecord-button).
m_CurrencyManager.Position = m_dsAirplaneTypes1.AirplaneTypes.Rows.Count -
1;
But changing the position result in an error :
"Colunm <name of primarykeyfield> is constrained to be unique. Value
<avalue> is already present"
who can help me please ?
thnx
Chris
after inserting a record in a DataSet and committing it to the DB using the
sqlDataAdapter.Update(), do I want to set the position of my
currency-manager to the last row in the dataSet (using the same working code
that is executed when I click on a Lastrecord-button).
m_CurrencyManager.Position = m_dsAirplaneTypes1.AirplaneTypes.Rows.Count -
1;
But changing the position result in an error :
"Colunm <name of primarykeyfield> is constrained to be unique. Value
<avalue> is already present"
who can help me please ?
thnx
Chris