SqlDataReader dr = cmd.ExecuteReader(CommandBehavior.CloseConnection);
Workbook wbook = new Workbook(templatePathFinal);
Worksheet sheet = wbook.Worksheets;
Cells cells = sheet.Cells;
Aspose.Cells.Cell dateCol = cells.FindString("Date", null); //warning is here
if (!(dateCol == null))
... other code ...
sheet.Cells.ApplyColumnStyle(dateCol.Column, style, flag);
I'm getting a warning on the above mentioned line saying .FindString is obsolete. Can you please help me update it to current standards. I searched and couldn't find exact way to fix this. Your help is appreciated.