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
abul hassan
NA
2
0
Email Attachments
Nov 15 2006 4:00 AM
i am having images in the database table. i am getting the file in the front end for the code,
SqlCommand cmd = new SqlCommand("select * from Tbl_VisitorRequestDetails where VisitorId = 1212312313",con);
SqlDataReader dr = cmd.ExecuteReader();
while(dr.Read())
{
Response.BinaryWrite((byte[])dr["PersonImage"]);
}
The above one writes the image in the form.
But i want the file(image) to get attached in to the Email attachments, without saving the image as file and then attaching.
I want the file(image) to be attached directly to the Email-attachments.
Help me in C#.
Thanks.
Reply
Answers (
0
)
How to hande checkbox event in datagrid
I have problems with Session Time-out