FileStream fs = new FileStream(@"c:\authordata.txt", FileMode.Create);pubsDataSet.RemotingFormat = SerializationFormat.Binary;// Remove the above line, and serialize the dataset; Check the file content.BinaryFormatter bfo = new BinaryFormatter();bfo.Serialize(fs, pubsDataSet);fs.Close();