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
ahmed salah
NA
530
148.9k
How to convert image to binary and get result in text box
Dec 30 2016 7:49 PM
I need to convert image to binary and get result in text box .
i using the following function :
Image found in path D:/person.jpg
public
static
byte
[] ImageToBinary(
string
_path)
{
FileStream fS =
new
FileStream(_path, FileMode.Open, FileAccess.Read);
byte
[] b =
new
byte
[fS.Length];
fS.Read(b, 0, (
int
)fS.Length);
fS.Close();
return
b;
}
How to receive the value returned from function ImageToBinary in textbox1 ?
I work in c# windows form c#
Reply
Answers (
5
)
Associate a specific list with a table of unique records
Am new, Any help