Output from Chat GPT(Try it out if the below doesnt work):
The error message “Expression Expected” is indicating that the syntax of the Assign activity is not correct. The For Each loop needs to be inside a separate Sequence activity. Also, you need to assign the modified mrcPricing datatable in each iteration of the loop.
Try the following:
Drag a Sequence activity onto the designer panel
Inside the Sequence activity, drag a For Each activity
Set the dtDataTestIndex as the input of the For Each activity
Inside the For Each activity, drag an Assign activity
In the Assign activity, set the value to mrcPricing.Rows.InsertAt(mrcPricing.NewRow, item)
Assign the value of mrcPricing to itself.
This should insert new rows into the mrcPricing datatable at the index specified by the dtDataTestIndex array.
The “Option strict on disallows late binding” error message occurs when you are trying to use late binding (when the data type of a variable is not explicitly declared) in a VB. NET program where Option Strict is set to On. This is a feature in VB. NET that requires all variables to have their data types explicitly declared, and can help prevent type-related errors. To fix this error, you can either set Option Strict to Off in your program (by adding the line “Option Strict Off” at the top of your code file), or you can explicitly declare the data type of the variable that is causing the error.