且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Windows应用程序中上传文件

更新时间:2022-11-05 13:34:20

看看FileFileStream类以读取文件.对它们的处理方式取决于您如何保存它们.

如果只想将它们复制为BLOB或类似形式,则只需进行流二进制读取即可.如果您需要提取信息,则需要解析它们或执行从文件中提取信息所需的一切.
Take a look at the File and FileStream classes to read the files. What you do with them depends on how you are going to save them.

If you just want to copy them as BLOB''s or similar, just do a stream binary read. If you need to extract information, then you''ll need to parse them or do whatever it takes to extract the info from the files.


检查 ^ ]线程.
请参见此处 [
Check this[^] thread out.
See here[^] as well.