天天看點

C# 讀取 timestamp 時間戳 值為byte[] 類型時轉換為時間戳字元串

C# 中如何讀取出來的時間戳為 byte[] 類型的話,用以下方式轉換成 16進制字元串

string tmpUfts = "0x"+ BitConverter.ToString(dataRow["MaxRowVersion"] as System.Byte[], 0).Replace("-","");