So I would only like to assign the value to 'originalCOlumName' if there is a value in dataStore.DataSourceDef.Rows[columnIndex].ItemArray[3].ToString();
if it is NULL or out of range, doesnt exist etc...I want to skip this part.
Ive tried looking at another example on Preventing Index Out of Range Error
but NULL checkers didnt work also tried
if(string.IsNullOrEmpty(dataStore.DataSourceDef.Rows[columnIndex].ItemArray[3].ToString())