TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Bhavesh Vankar
760
1.1k
87.9k
image to binary convert from webcam capture in web c#
Oct 26 2020 7:25 AM
hello I have try to convert captured image by webcam into binary format and want to save it in sql server nut its getting error like
"Additional information: Could not find a part of the path 'C:\VisiterManagment\VisiterManagment\CroppedImage\'."
below I tried code to convert image to binary.
public
static
byte
[] ImageToBinary(
string
_imgpath)
{
FileStream fS =
new
FileStream(_imgpath, FileMode.Open, FileAccess.ReadWrite);
byte
[] b =
new
byte
[fS.Length];
fS.Read(b, 0, (
int
)fS.Length);
fS.Close();
return
b;
}
Reply
Answers (
1
)
Getting All Rows and not matching how to use left join in LINQ stateme
ASP.NET Core Razor Page OnPost with parameter