1
Answer

Webcam image to SQL database

Ravindra Sharma

Ravindra Sharma

11y
1.5k
1
Hi,

I am working on an ASP.NET application, I have a page where i capture an image from the user's webcam and display that image on an image control.. How do i save this image in a database?


I've searched for many samples, but all i found is the fileupload code. I am not uploading the image here, but i'm capturing it from a webcam.

help me !!
Answers (1)
2
Kunal Naik

Kunal Naik

NA 425 0 13y
Hi,

Yes, you should build the classlibrary(businesslayer/dataaccesslayer) and then add the reference.

If you want to add class files at a later stage then you should rebuild your classlibrary and then get reference. This will not cause any problem.
Accepted
0
Nethra R S

Nethra R S

NA 310 266.8k 13y
Hi Kunal,

Should we build the classlibrary(businesslayer/dataaccesslayer) and then add the reference?

What if we want to add class files at a later stage? then what should be done? should we rebuild? will that not cause any problem?
0
Kunal Naik

Kunal Naik

NA 425 0 13y
Hi,

Build your BusinessLayer and then in your website you will access your 2 classes with the help of businesslayer object.
And if still that error comes then go to Add Refrence section under Reference section in side your web site root then under Browse tab select the dll from your projects bin folder then click ok. Now you access your these 2 classes in your website.

Hope this will helps you.
0
Nethra R S

Nethra R S

NA 310 266.8k 13y
What to check Miss Priya Linge???? You are not understanding my question itself
0
Priya Linge

Priya Linge

NA 5k 708.3k 13y
Hi,

Please check this,

  • App.Core - business layer logic services
  • App.Data - data access layer store classes and data access objects
  • App.Web - user interface layer
  • 0
    Nethra R S

    Nethra R S

    NA 310 266.8k 13y
    The BusinessLayer namespace itself and i have also mention using BusinessLayer; in the place where i wnat to use it..
    0
    Priya Linge

    Priya Linge

    NA 5k 708.3k 13y
    Hi Nethra,

    Can you please tell me which namespace you have added for accessing Businesslayer object.

    Thanks.