Skip to content

Commit

Permalink
restored WriteDataRowValueCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
openbots-ff committed Apr 7, 2020
1 parent 68bae40 commit 215e526
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions taskt/Core/Automation/Commands/WriteDataRowValueCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public override void RunCommand(object sender)
else dataRow = (DataRow)dataRowVariable.VariableValue;

var valueIndex = v_DataValueIndex.ConvertToUserVariable(sender);

if (v_Option == "Index")
{
int index = int.Parse(valueIndex);
Expand All @@ -89,7 +89,7 @@ public override void RunCommand(object sender)
else if (v_Option == "Column Name")
{
string index = valueIndex;
dataRow.SetField<string>(index, dataRowValue);
dataRow.SetField<string>(index, dataRowValue);
}

}
Expand Down
1 change: 1 addition & 0 deletions taskt/taskt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@
<Compile Include="Core\Automation\Commands\WordReplaceTextCommand.cs" />
<Compile Include="Core\Automation\Commands\WordSaveAsCommand.cs" />
<Compile Include="Core\Automation\Commands\WordSaveCommand.cs" />
<Compile Include="Core\Automation\Commands\WriteDataRowValueCommand.cs" />
<Compile Include="Core\Automation\Commands\WriteTextFileCommand.cs" />
<Compile Include="Core\DocumentationGeneration.cs" />
<Compile Include="Core\EncryptionServices.cs" />
Expand Down

0 comments on commit 215e526

Please sign in to comment.