Delete Value of Index in DataRow


Anyone can help me for solve this problem? I have the DataRow example like this:

DataRow { HasErrors=false, ItemArray=object[2] { “cc”, [ ] }, RowError="", RowState=Added, Table=[DataTable] }

I want to delete the value in index 1, which is the value is [] . That value is Null.
So, the final DataRow value is only cc .

Brian Henokh


As DataRow is related with DataTable, we need to delete column of datatable if remove an item of DataRow. We might be able to suggest workaround if you can share your purpose of the above.