コードを使用してasp.netのmvc 3.0にWebカムを統合するのを手伝ってください。これは私のC#コード本体です。
public ActionResult UploadWebCamPic(string ImageData)
{
byte[] upImg = null;
WebImage wi = new WebImage(Convert.FromBase64String(ImageData));
upImg = wi.GetBytes("png");
//Get a data Context and you now have the image in PNG format
//in the upImg byte[] that you can store in your DB.
return Json("OK");
}
そして、これが私のJavaScriptコードです。
Javascript コード
名前空間 webimage が見つからないというエラーが発生しています
助けていただければ幸いです。ありがとう !!