save a graphics object to a varbinary db column c#

北城余情 提交于 2019-12-13 05:27:45

问题


Using c#, I created a blank picture box control and a graphics object. I instantiated the graphics object by pictureBoxControl.CreateGraphics(). I allow the user to then draw on the picture box with the mouse. I'm trying to save the graphics object to a varbinary column in the database, but I can't figure that out.

Can somebody please help?

来源:https://stackoverflow.com/questions/35181621/save-a-graphics-object-to-a-varbinary-db-column-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!