示例#1
0
 /// <summary>
 /// Write a DataTable to the network stream's packet.
 /// </summary>
 /// <param name="dt"></param>
 public void Write(DataTable dt)
 {
     RawDataTable.Serialize(serializer, dt);
 }
示例#2
0
        /// <summary>
        /// Read a DataTable from the network stream's packet.
        /// </summary>
        /// <returns></returns>
        public DataTable ReadDataTable()
        {
            DataTable dt = RawDataTable.Deserialize(deserializer);

            return(dt);
        }