Click here to Skip to main content
15,845,469 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am working in .net window based application in which i am working in ink signature through pen tablet may i know how can i save a signature in data base , actually i have created a form two button in it one for save the signature and other is to clear the sign i have imported ink signature through pen tabletthe ink signature to sign . so please i have a request that if you have any code in c# to save the signature...please send me i will highly obliged to you.

thanks
Posted

1 solution

This article with source code shows how to save/load ink objects in files:
http://www.c-sharpcorner.com/UploadFile/mahesh/InkPictureImages11042005153113PM/InkPictureImages.aspx[^].

You can do almost the same, but save the content in the database blob using ADO.NET. Please see:
http://en.wikipedia.org/wiki/BLOB[^],
http://support.microsoft.com/kb/309158[^].

In principle, you can also consider the option of saving the ink objects in the files with auto-generated unique names. In this case, the database can store just the file names. You will need to implement synchronization of adding/removing files in the database with the file system in transactional manner. This method is only suitable for a multi-tier architecture.

—SA
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900