求助,拍照直接插入数据库二进制列 Post By:2016/5/13 21:15:00 [只看该作者]
Dim c As new camera Dim pic As WinForm.PictureBox = e.Form.Controls("PictureBox1") Dim dr As DataRow = Tables("职员信息管理_职员信息表").Current.DataRow c.Capture() '开始照相 If c.image IsNot Nothing Then '照相成功 pic.Image = c.Image dr.SQLInsertFile("photo",pic.ImageFile) End If