I’m trying to extract column value TNO based on the condition PNO=‘12345’ from datatable.
How can i achieve this using Select?
I’m trying to extract column value TNO based on the condition PNO=‘12345’ from datatable.
How can i achieve this using Select?
Hi @tshaikh,
Use below code to get the value
Convert.ToString(Dt.select("PNO='12345'")(0)("TNO"))
Regards,
Arivu
Thanks i’ll check and update you.
Many Thanks,
Tabrez
Hi @tshaikh,
Use below code to get the value
Convert.ToString(Dt.select("PNO='12345'")(0)("TNO"))
Regards,
Arivu
You can use lookup datatable activity
![]()
Hi arivu,
It worked fine!!!
Many Thanks
Hi Arivu,
Convert.ToString(Dt.select(“PNO=‘12345’”)(0)(“TNO”))
can you explain why we use (0) in above expression?