We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Problems in saving data


iam binding data to grid using datasource. i have given some formulas in submit button. for saving these values generated by formulas to database you have given some code using datarowview

like this

DataRowView rowView = (DataRowView)sheet.GetRowBindObject(row);

rowView["heading"] = sheet.Cells[row, 3].Value;

in save command we have written this.

its saving the records fine when we add new records. now my problem is : after deleting a row from the grid i click on save button its giving error. at the place

DataRowView rowView = (DataRowView)sheet.GetRowBindObject(row);

rowView["heading"] = sheet.Cells[row, 3].Value;

what is the problem iam not getting, can you please rectify my problem.



Please verify that when you delete the record and click the save button it should justify (When you perform the delete operation one row is eliminated....so check it out) to sheet.Cells[row, 3].Value and the related cell (which is pointed out) has valid data.

What is the complete error message you are getting. Could you create a sample test example, zip it and post it here to reproduce the problem.

We will check and figure out your issue soon.

Thank you.