Suggest in creating the condition (Excel related)

I have multiple values Combination for username and Password in data table . In my process created two input dialog as username and password . If input combination match with data table combination then it should work.
I have created an condition but not giving me expected output.

data_table.Select(“DB_User = +‘input_username’+ and DB_Pass= +‘input_pass’”).count>0

@Palaniyappan

1 Like

Kindly mention the condition like this in IF activity
datatable.Select("[DB_User] = ’ " + variablename1.ToString + " ’ AND [DB_Pass] = ’ " + variablename2.ToString + " ’ ").Count > 0

Cheers @Dipanshu

2 Likes

Thanks @Palaniyappan

1 Like

Cheers @Dipanshu

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.