M
Mr. X.
In VB.NET 2008 (VS 2008) I see I can change the state of an unChanged
column,
but for detached column - I cannot change the state.
Dim objRowV As DataRowView
Dim objRow As DataRow
objRowV = myBindSource.Current
objRow = objRowV.Row
objRow("my_column") = 123
objRow.SetAdded() ' **** this line troughs an exception. ****
.... How can I handle this case ?
Thanks
column,
but for detached column - I cannot change the state.
Dim objRowV As DataRowView
Dim objRow As DataRow
objRowV = myBindSource.Current
objRow = objRowV.Row
objRow("my_column") = 123
objRow.SetAdded() ' **** this line troughs an exception. ****
.... How can I handle this case ?
Thanks