save a graphics object to a varbinary db column c#
问题 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