i need to extract a paticular column in a excel where in that column i need to fetch particular value like if column contains
i need to get particular jasmine alone how can put conditions?any suggestions?
i need to extract a paticular column in a excel where in that column i need to fetch particular value like if column contains
i need to get particular jasmine alone how can put conditions?any suggestions?
Use below code in try catch and catch invalid operation exception
Try{
Dt =dt.select(ācolumnname= ājasmineāā).copytodatatable
Dt = dt.totable.defaultview(false,ācolumnnameā) (just check dt.totable or dt.table)
Catch{
Column dose not contain jasmin
}
Let me know if i can assist you further.
Regards
Aditya
can u please explain bit moreā¦on this or share xml?
Use assign stage like below
dt = dt.select(āyourcolumnname=ājasmineāā).copytodatatable
This will return exception if there is no record (cell in this case) in column.
So if above equation is successful then
Use
dt = dt.totable.defalutview(false, āyourcolumnNameā)
Above equation will return datatable with single column
This is your answer
@priyankavivek
Have you tried lookup Range which will provide you with the found cell. Pass it to Read Column and take it from there.
iwasnt able to open them
loads on restoring dependent
2019.6.0
@priyankavivek Try this
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.