Найти или найти данные
Contents
[
Hide
]
Найти или найти данные
Вы можете использовать Aspose.Cells для поиска данных различными способами, используя следующий метод.
- GetEnumerator
- Получить формулу
- GetType
- GetStringValue
- GetIntValue
- GetBoolValue
- GetDateTimeValue
- Получить двойное значение
- GetFloatValue
Видболее методы.
Следующий пример кода иллюстрирует использование вышеуказанных методов с использованиемобразец файла Excel как показано на этом скриншоте.
Образец кода
Консольный вывод
Это вывод консоли приведенного выше примера кода при выполнении с заданнойобразец файла Excel.
Name of the cell containing formula =SUM(A5:A10): C6
Name of the cell containing the formula that contains CHA: C7
Name of the cell containing the number 80: A8
Name of the cell containing specified string: C8
Name of the cell containing the string that contains Two: C9
Name of the cell containing specified string: C10
Name of the cell containing specified string: C11