I have a table in excel, which I have to separate into 2 parts, the delimiter is a word that is captured in a row (at this point is written on a separate page the content before this delimiter)
I would like to know how I can continue the route of the for each from the point where I am staying.
I have read that I can use a while for this purpose, but I would like to know if someone has an example of how the structure of the for each should go with the while
Hi,
can you please suggest me the approach on my below query.
I have written contains string check and int_index is populating correct and copied to data table but I want to read Index Ex: 9 from 50 and want to skip remaining records to be copied.
I have checkpoint in file with String “End” at 50th line of my file . as per below line it is giving all lines from Index 9 to end of the excel. please let me know how can we copy from 9 to 50 in my example. dtInput.AsEnumerable().Skip(int_index).CopyToDatatable().
Please suggest .