DataRowState
2010-12-06 14:21 lppcoding 阅读(291) 评论(0) 编辑 收藏 举报Mark一下,不解释...
DataRowState.Detached 00001
DataRowState.Unchanged 00010
DataRowState.Added 00100
DataRowState.Deleted 01000
DataRowState.Modified 10000
DataRowState.Detached & DataRowState.Detached = 1
DataRowState.Detached & DataRowState.Unchanged = 0
DataRowState.Detached & DataRowState.Added = 0
DataRowState.Detached & DataRowState.Deleted = 0
DataRowState.Detached & DataRowState.Modified = 0