B
Bhavin82
Guest
Hello everyone,
I got the following error message :
"Operation did not succeed because the program cannot commit or quit a cell value change."
When I sets the current cell to anyone cell of DataGridView.
I have also override one method for that named SetCurrentCellAddressCore(). But still error remains......
protected override bool SetCurrentCellAddressCore(int columnIndex, int rowIndex, bool setAnchorCellAddress, bool validateCurrentCell, bool throughMouseClick)
{
try
{
return base.SetCurrentCellAddressCore(columnIndex, rowIndex, setAnchorCellAddress, validateCurrentCell, throughMouseClick);
}
}
And other problem is that after this error, two or three blank rows added automatically in datagridview....
If anybody have the solution please reply.....
Continue reading...