Can someone give me some advice on how to save an image file into DB in C#? I will be saving a lot of images so what s the best way to reduce the space it will be needing? I m currently using varbinary(max) field in DB.
感谢!
Can someone give me some advice on how to save an image file into DB in C#? I will be saving a lot of images so what s the best way to reduce the space it will be needing? I m currently using varbinary(max) field in DB.
感谢!
如果你把实际档案存放在SQ库,那么你就能够确保围绕图像的规模进行一些限制,并确保你妥善规划数据库,以便了解多少图像和你期望的大小。
如果你必须将其储存在我偏好中,那就是自动将其放在自己的数据库中。 因此,我与这些图像一起处理的任何业绩问题都不会影响我数据库的其他部分。
如果你不必将图像储存在KQQ数据库中,那么我认为这只是要求储存Blob。 展望未来——它将给你在非常高效的体系中想要的东西。
不能使用 然后,你应召集一个将图像阅读/书写/浏览到档案系统的班子。 妥善使用档案系统,比节省文件库的工作要好得多。
这将是罚款。 然而,如果这些形象如此大,而且你的德国统计局可能不喜欢把这些图像放在那里,那么你就可以把这些图像放在某个地方的驱动力上,并存放在亚洲开发银行的所在地。
我猜测,你可以采取许多办法处理这一问题。 只是权衡你的利弊。
我只是给你一个选择。
在数据库中储存图像不是一个好的想法。 你们可以把尿素储存在图像上。
和Magus一样,档案馆没有储存在亚洲开发银行的网页上,因此没有影响业绩。
虽然存放在亚洲开发银行的档案意味着你的银行支持将变得更大。
另有一些人提到只储存了URLs。 这也是一个伟大的想法,很可能是简单构造的最大动力。
What is the use of default keyword in C#? Is it introduced in C# 3.0 ?
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...
I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...
I have two EF entities. One has a property called HouseNumber. The other has two properties, one called StartHouseNumber and one called EndHouseNumber. I want to create a many to many association ...
How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...
Since I cannot order my dictionary, what is the best way of going about taking key value pairs and also maintaing an index?
Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...