Click here to Skip to main content
15,920,383 members
Home / Discussions / C#
   

C#

 
QuestionDataGridView, RowEnter exception upon header select Pin
Lodeclaw20-Jan-09 11:46
Lodeclaw20-Jan-09 11:46 
AnswerRe: DataGridView, RowEnter exception upon header select Pin
Lodeclaw20-Jan-09 11:53
Lodeclaw20-Jan-09 11:53 
QuestionSession states between two pages with two gridtables Pin
CrimeanTurtle200820-Jan-09 11:40
CrimeanTurtle200820-Jan-09 11:40 
AnswerRe: Session states between two pages with two gridtables Pin
Colin Angus Mackay20-Jan-09 13:13
Colin Angus Mackay20-Jan-09 13:13 
GeneralRe: Session states between two pages with two gridtables Pin
CrimeanTurtle200820-Jan-09 13:29
CrimeanTurtle200820-Jan-09 13:29 
QuestionStream / MemoryStream Pin
Jacob D Dixon20-Jan-09 11:18
Jacob D Dixon20-Jan-09 11:18 
AnswerRe: Stream / MemoryStream Pin
Wendelius20-Jan-09 11:47
mentorWendelius20-Jan-09 11:47 
GeneralRe: Stream / MemoryStream Pin
Jacob D Dixon20-Jan-09 12:32
Jacob D Dixon20-Jan-09 12:32 
I'm sorry I have never done this before.

What I have there is what I've tried to get to work from what I've seen on the internet.

myReader["Saved_File"].ToString(); is reading the varbinary from the SQL database (Saved_File) column.

So i'm taking the string FileData and storing the information in the SQL database in the string.



So what I'm trying to do is take the data from the database and attach it in an email without actually saving a file to the harddrive then deleting it when I'm done. I'm wanting to store the file in memory, then attach it to the email and send it. Is this possible?
AnswerRe: Stream / MemoryStream Pin
Ennis Ray Lynch, Jr.20-Jan-09 12:46
Ennis Ray Lynch, Jr.20-Jan-09 12:46 
AnswerRe: Stream / MemoryStream Pin
Guffa20-Jan-09 12:56
Guffa20-Jan-09 12:56 
GeneralRe: Stream / MemoryStream Pin
Jacob D Dixon20-Jan-09 13:06
Jacob D Dixon20-Jan-09 13:06 
GeneralRe: Stream / MemoryStream Pin
Jacob D Dixon20-Jan-09 13:38
Jacob D Dixon20-Jan-09 13:38 
GeneralRe: Stream / MemoryStream Pin
Ben Fair21-Jan-09 2:36
Ben Fair21-Jan-09 2:36 
QuestionSolutions and Projects Pin
mobius11100120-Jan-09 9:24
mobius11100120-Jan-09 9:24 
AnswerRe: Solutions and Projects Pin
Wes Aday20-Jan-09 9:33
professionalWes Aday20-Jan-09 9:33 
AnswerRe: Solutions and Projects Pin
mobius11100120-Jan-09 9:44
mobius11100120-Jan-09 9:44 
GeneralRe: Solutions and Projects Pin
Wes Aday20-Jan-09 10:27
professionalWes Aday20-Jan-09 10:27 
GeneralRe: Solutions and Projects Pin
#realJSOP20-Jan-09 10:46
professional#realJSOP20-Jan-09 10:46 
GeneralRe: Solutions and Projects Pin
led mike20-Jan-09 11:42
led mike20-Jan-09 11:42 
GeneralRe: Solutions and Projects Pin
#realJSOP20-Jan-09 23:27
professional#realJSOP20-Jan-09 23:27 
GeneralRe: Solutions and Projects Pin
PIEBALDconsult21-Jan-09 8:05
mvePIEBALDconsult21-Jan-09 8:05 
GeneralRe: Solutions and Projects Pin
mobius11100121-Jan-09 2:18
mobius11100121-Jan-09 2:18 
GeneralRe: Solutions and Projects Pin
Wes Aday21-Jan-09 2:54
professionalWes Aday21-Jan-09 2:54 
QuestionRe: Solutions and Projects Pin
mobius11100121-Jan-09 3:01
mobius11100121-Jan-09 3:01 
AnswerRe: Solutions and Projects Pin
Wes Aday21-Jan-09 3:56
professionalWes Aday21-Jan-09 3:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.