Assuming you already have a DataTable named “DT1” with the data you provided, create an integer variable named “rowIndex” and set its value to the desired row index you want to retrieve (in this case, 1).
Use an “Assign” activity to get the specific row from the DataTable using the “DataTable.Rows” property. Create a variable named “selectedRow” of type DataRow, and use the following expression:
selectedRow = DT1.Rows(rowIndex)
Now, you can access the values of the specific row using the column names. For example, to get the values of Column1, Column2, and Column3, you can create three string variables and use the following expressions:
column1Value As String = selectedRow("Column1").ToString
column2Value As String = selectedRow("Column2").ToString
column3Value As String = selectedRow("Column3").ToString
Now you have the values of the specific row from the DataTable stored in the variables column1Value, column2Value, and column3Value.
You can use the expression
col1Value=dt(rowIndex)(“ColName”).ToString
col2Value=dt(rowIndex)(“ColName”).ToString
col3Value=dt(rowIndex)(“ColName”).ToString