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
755
1.2k
89.2k
How to replace Fileupload to Image.imageurl
Mar 10 2021 10:57 AM
how to replace Image1.ImageUrl to Fileupload1 in below code.
string
filename = Path.GetFileName(FileUpload1.PostedFile.FileName);
string
contenttype = FileUpload1.PostedFile.ContentType;
using
(Stream fs = FileUpload1.PostedFile.InputStream)
{
using
(BinaryReader br =
new
BinaryReader(fs))
{
byte
[] bytes = br.ReadBytes((Int32)fs.Length);
}
}
}
Reply
Answers (
3
)
How to call the api using webmethod
Escape sequence for nextline & tab charater in textbox