2
Answers

Saving System.Net.Attachment into Database

Glenn Sanchez

Glenn Sanchez

12y
2.8k
1
Hi All,

Is there a way of saving a System.Net.Attachment directly into a database field without writing to disk?


I am using LINQ and this is what I have for now:

AttachmentDetail attd = new AttachmentDetail();
attd.HeaderID=atth.ID;
attd.FileName = att.ContentDisposition.FileName;

attd.Object = ? //Something to put here...


Thanks and Regards
Answers (2)
Next Recommended Forum