Where are the other columns being defined?
It is likely you are setting the DataPropertyName on a column that does not exist. Which one is actually causing the exception?
The one of
dGV.Columns[i++].DataPropertyNane = "Failed"
or is it maybe
dGV.Columns[i++].DataPropertyNane = "FDCode"
I suggest the second because I am only seeing one column added,
So it seems you are setting this column to be "BCode" and then trying to set columns that do not exist.