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
761
1.1k
86.9k
Press save button but no action is taken.
Mar 12 2021 9:19 AM
i have done below code to convert image control image into binary (IMAGE1.ImageUrl) but when i press save button their is no effect and not response from page. means page not react anything its not save record and display any error.
i have use (!IsPostBack) property what to do...?
string
filepath = Server.MapPath(vImage.ImageUrl);
FileStream fs =
new
FileStream(vImage.ImageUrl, FileMode.Open, FileAccess.ReadWrite);
BinaryReader br =
new
BinaryReader(fs);
byte
[] bytes = br.ReadBytes((Int32)fs.Length);
br.Close();
fs.Close();
Reply
Answers (
3
)
Escape sequence for nextline & tab charater in textbox
for each if break