发送时
MemoryStream ms = new MemoryStream();
BinaryFormatter bf = new BinaryFormatter();
bf.Serialize(ms, dt);
byte[] tableBT = ms.ToArray();
发送tableBT
接收后
BinaryFormatter bf = new BinaryFormatter();
MemoryStream ms = new MemoryStream(getByte);
DataTable dt = bf.Deserialize(ms) as DataTable;