问题描述
如何访问平板电脑文件夹以检索图片?
例如:
说我已经为我的网站编写了一个应用程序,允许我输入数据和图像。现在我正从我的平板电脑浏览我的网站,我想用我的平板电脑拍照,但我希望那张照片出现在应用程序的文本区域?或者至少让我的应用程序从平板电脑上的文件夹中获取我刚刚拍摄的照片。
是否有人有任何关于我或如何完成任何信息的例子这个?
How can I access a tablets folder to retrieve a picture?
For example:
say I have written an application for my website that allows me to enter data and also images. Now I am browsing on my website from my tablet and I want to take a picture with my tablet, but I want that picture to appear in my text area of the application? or at least have my application get the picture I just took from the folder on the tablet.
does anyone have any examples of this or any information on how I can accomplish this?
推荐答案
If e.Row.RowType = DataControlRowType.DataRow Then
Dim bytes As Byte() = TryCast(TryCast(e.Row.DataItem, DataRowView)("Content"), Byte())
Dim base64String As String = Convert.ToBase64String(bytes, 0, bytes.Length)
Labal1.text = ""
End If
标签代码无法设置,请检查下面链接,它的图像
]
这篇关于如何访问平板电脑文件夹以检索图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!