Hi,
Is it possible to get the index of the cell that was bound previously for a given row index. I have a scenario where i'll know the row number and the max data columns, but the data has to be bound one by one to the cell and this happens by callin a method for each data that is to be bound. My problem is that every time before i bind i have to use a forloop and and condition check like this -
int maxdatacolumns = cells.MaxDataColumn;
for (int j = 0; j <= maxdatacolumns - 1; j++)
{
//check for the next empty cell and insert the value
if (cells[row.RowNumber + 1, j].Value == null)
{
// put value and return
}
}
But this method will cause an over head when the number of columns are more as it had to execute the entire for loop. Is there any way in aspose that helps me reduce this piece of code?
Regards,
Soumya