Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Grid update not reflecting in count
posted

After adding a new row and successfully saving it to the database, if I iterate through the grid rows and try to get the count of rows meeting specific criteria, I dont see the new row added reflected in the count.
The code I am using for the update -

this.dgReqExceptions.PerformAction(UltraGridAction.ExitEditMode);
this.dgReqExceptions.UpdateData();
iResultREDT =
this._InsReqExceptions_DAL.UpdateDB(_InsReqExceptionsDS, _InsReqExceptionsDS.Tables[0].TableName);

 

When I close thr form and reopen it, I do see the counts reflecting the new row added.

Any help is appreciated.