XlsWorkbook
Replace Method (String, DataTable, Boolean)
|
Replaces specified string by data table values.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void Replace(
string oldValue,
DataTable newValues,
bool isFieldNamesShown
)
Public Sub Replace (
oldValue As String,
newValues As DataTable,
isFieldNamesShown As Boolean
)
public:
virtual void Replace(
String^ oldValue,
DataTable^ newValues,
bool isFieldNamesShown
) sealed
abstract Replace :
oldValue : string *
newValues : DataTable *
isFieldNamesShown : bool -> unit
override Replace :
oldValue : string *
newValues : DataTable *
isFieldNamesShown : bool -> unit
Parameters
-
oldValue
-
Type:
System
String
String value to replace.
-
newValues
-
Type:
System.Data
DataTable
Data table with new data.
-
isFieldNamesShown
-
Type:
System
Boolean
Indicates whether field name must be shown.
Implements
IWorkbook
Replace(String, DataTable, Boolean)
See Also