I want to filter datatable in uipath studio based on column names How can I check whether desired column exists or not

0 votes
I want to filter datatable in uipath studio based on column names. How can I check whether desired column exists or not?
Oct 11, 2019 in RPA by anonymous
• 3,690 points
8,937 views

1 answer to this question.

0 votes

Hi there, if you want to check whether your desired column exists or not in your datatable, you can use datatable.Columns.Contains("column_name"). This method will show if your column exists. Now you can filter your datatable based on column name.

answered Oct 11, 2019 by Abha
• 28,140 points
0 votes
Hi there you can try below method as well

take for each data row pass the data table as input

then put the condition

if

currentrow.tostring.equals("columnname")

then go for filter
answered Jun 23, 2023 by anonymous

edited Mar 5

Related Questions In RPA

0 votes
2 answers

How can I check if an element or window exists using UiPath Studio?

Element Exists help you READ MORE

answered Jun 24, 2019 in RPA by anonymous
26,402 views
0 votes
1 answer

In uipath how to check whether a checkbox is checked or not in pdf file?

You can use an image exists or ...READ MORE

answered Nov 5, 2020 in RPA by Umesh
3,333 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

What is Get Jobs activity used for in UiPath Studio?

Hey @Rakesh, Get Jobs Activity can be ...READ MORE

answered Mar 14, 2019 in RPA by Abha
• 28,140 points
3,198 views
0 votes
1 answer

How to format text in notepad using UiPath?

Hey @Rashmi, if you want to automate ...READ MORE

answered Mar 18, 2019 in RPA by Anvi
• 14,150 points
8,493 views
+2 votes
1 answer

How can I display current date in "dd-MMM-yy" format in UiPath Studio?

Hi Shilpa, if you want to display ...READ MORE

answered Mar 18, 2019 in RPA by Pratibha
• 3,690 points
17,459 views
0 votes
1 answer

How to check if a string exists in datatable using UiPath?

Hi @Ravi, to check whether a string ...READ MORE

answered Mar 19, 2019 in RPA by Anvi
• 14,150 points
18,159 views
0 votes
1 answer

Is there any way to check whether a file exists or not using UiPath?

Hi @Raj, performing this check in UiPath ...READ MORE

answered Mar 20, 2019 in RPA by Abha
• 28,140 points
8,272 views
–1 vote
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP