@Slavich wrote:
Hi Guys,
I faced the issue while using invoke C# code.
I receive an Error:
while trying to invoke this code:
for (int i = 20; i < inputDt.Rows.Count; i++)
{
for (int j = 1; j < inputDt.Columns.Count; j++)
{
if (!String.IsNullOrEmpty(inputDt.Rows[i][j].toString()) && inputDt.Rows[i][j] != “0”)
{
System.Data.DataRow dr = null;
dr = outputDt.NewRow();
dr[0] = inputDt.Rows[0][j];
dr[1] = inputDt.Rows[1][j];
dr[2] = inputDt.Rows[i][0];
dr[5] = inputDt.Rows[i][j];outputDt.Rows.Add(dr); } } }
The list of arguments is:
Any idea why it causes and how can be resolved?
Thanks
Posts: 2
Participants: 1