Hi Team,
I have an excel file.
Its just an example. In real time there are thousands or such rows.
I want to remove the / character using the linq query.
Any help is appreciated.
Thanks!
Hi Team,
I have an excel file.
Its just an example. In real time there are thousands or such rows.
I want to remove the / character using the linq query.
Any help is appreciated.
Thanks!
Use the “Read Range” activity to read the Excel data into a DataTable and store it in a variable, let’s say “excelData.”
Use an Assign activity to modify the data in the “excelData” DataTable:
excelData= excelData.AsEnumerable().ToList().ForEach(Sub(row) row("ColumnName") = row("ColumnName").ToString().Replace("/", ""))
Replace “ColumnName” with the actual name of the column from which you want to remove the ‘/’ character.
Hope it helps!!
Hi
It says that we cant use assign operator
can you please give step by step process and the datatype of the variables.
Thanks!
should i be using = operator in assign activity?
Its showing an error.
The code provided above is to be used in invoke code activity and create an argument dt as datatable and with in/out as direction…and assign your actual datatable to that variable…
That is not to be used in assign
cheers