While editing the data which datatype the column holds, if it is a integer or double format, then this will happen. You need to have that column in string format. Or before writing it to csv you need to have this column in string format.
Once you did with your edits, create a βFor each rowβ loop where you will add an apostrophe (β) before each value which you want to retain as text and then use Write Csv Activity.
as i told you, if you put the numbers like β12122β it will treat as a Text column and you add new numbers like this β000123β and when it is a csv again it will retain the zeroesβ¦
If you have control over the format of your source CSV, then all fields you want to force as TEXT, you can add like this: β=ββ0012324234"β", because it is the nature of csv conversion to auto detect the columns type, if you have a number there then datatable you have a Int32 column type and therefore will not accept the leading zerosβ¦
But the source file extension is a xlsx or csv? if it is xlsx, then it is easy to just format the column as text, if it is csv, you need to put the values as β=ββ0012324234"β"β¦
no no, that you will enough, if you can put those 000123 there (excel will paint that green triangle to warn that data looks like number but is text), than when you convert to datatable it will be text do you can do whatever with it