数字角色指纹识别器如何从数据库中保存和检索?
问题描述:
我一直在使用指纹设备的考勤系统。可以帮我如何从数据库保存和检索指纹?
这是我从SDK获得的代码..
i've been working on an attendance system with fingerprint device..can help me how to save and retrieve the fingerprint from database ?
this is the code that i got from the SDK..
Dim save As New SaveFileDialog()
save.Filter = "Fingerprint Template File (*.fpt)|*.fpt"
If save.ShowDialog() = Windows.Forms.DialogResult.OK Then
' Write template into the file stream
Using fs As IO.FileStream = IO.File.Open(save.FileName, IO.FileMode.Create, IO.FileAccess.Write)
Template.Serialize(fs)
End Using
End If
可以帮到我吗?因为我真的不知道现在要做什么..我只是这种类型的菜鸟,但我真的需要提前完成..提前付款..
can help me out ? coz i really dont know what to do now..i'm just a noob on this kind of this but i really need to finish it..tnx in advance..
答
二进制数据存储在MS SQL数据库的BLOB字段中: http://msdn.microsoft.com/en-us/library/4f5s1we0%28v=vs.110%29.aspx [ ^ ]
Binary data is stored in BLOB fields in databases for MS SQL look at : http://msdn.microsoft.com/en-us/library/4f5s1we0%28v=vs.110%29.aspx[^]