Kind of common error but stuck because of this.I have 8 column in a datatable, I need to add the datarow using array. But doing this gives the error. Is it because some of the values are null?
How to get these null value replace at once so that this error doesn’t occur?
Below is the Local Variable value of the array in debug mode when the erroe occurs:
@rahulsharma
there is no need for dummy row, would also more disturb as help.
Check variable scope,
check if no duplicate variable name exists,
check if no argment withthe name exists
@rahulsharma
I do often use build datatable for constructing schemas and instead of adding a dummy row i do clear the dt to ensure that there is no blank row inside.
Can you share your xaml. I would have a look on it