示例#1
0
        private static void WriteVarChar(string text, uint length, string myFileName)
        {
            BinaryWriter writer = BCPTests.CreateBinaryFile(myFileName);

            SQLVarChar sql = new SQLVarChar(length);

            sql.Write(writer, text);

            writer.Close();
        }
示例#2
0
        private static void WriteVarChar(string text, uint length, string myFileName)
        {
            BinaryWriter writer = BCPTests.CreateBinaryFile(myFileName);

            SQLVarChar sql = new SQLVarChar(length);
            sql.Write(writer, text);

            writer.Close();
        }