Select error

hi,

i had the following error:

Assign : Syntax error: Missing operand after ‘ID’ operator.

i had used:
dt2.select(“Personal ID like’”+“?”+“'”)

where dt2 is a datatable

Hi @abdel,

Can you try the column name within . Try
dt2.select(“[Personal ID] like’”+“?”+“’”)

Thank you,

but i think it a problem in the header name,
is there any methode to get the headers name?

Hi,

Please check below links:

  1. How To Find Respective Column Name of a specific Item in a data table - #5 by aksh1yadav

  2. https://www.uipath.com/kb-articles/how-to-extract-column-headers-in-a-csv-file

Hi,

i had to use dt3.Columns.ColumnName.ToString for a single columns “D” ?!

Hi,
What should i do with datatable.Columns(Column_name) but column is integer? please help me thank in advance