Click here to Skip to main content
15,894,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problems pulling an image out of SQL Pin
Christian Graus24-Nov-05 14:20
protectorChristian Graus24-Nov-05 14:20 
GeneralRe: Problems pulling an image out of SQL Pin
Judy10110124-Nov-05 14:22
Judy10110124-Nov-05 14:22 
GeneralRe: Problems pulling an image out of SQL Pin
Christian Graus24-Nov-05 14:24
protectorChristian Graus24-Nov-05 14:24 
GeneralRe: Problems pulling an image out of SQL Pin
Judy10110124-Nov-05 14:30
Judy10110124-Nov-05 14:30 
GeneralRe: Problems pulling an image out of SQL Pin
Christian Graus24-Nov-05 17:05
protectorChristian Graus24-Nov-05 17:05 
GeneralRe: Problems pulling an image out of SQL Pin
Judy10110124-Nov-05 14:34
Judy10110124-Nov-05 14:34 
GeneralRe: Problems pulling an image out of SQL Pin
Christian Graus24-Nov-05 17:28
protectorChristian Graus24-Nov-05 17:28 
AnswerRe: Problems pulling an image out of SQL Pin
Guillermo Rivero25-Nov-05 3:50
Guillermo Rivero25-Nov-05 3:50 
Hi...

Close the database connection after you fill myPictureData...
<br />
myConnection.Open();<br />
myCommand.ExecuteNonQuery();<br />
<br />
PictureData myPictureData = new PictureData();<br />
<br />
myPictureData.ID = (int)parameterID.Value;<br />
myPictureData.name = (string)parametername.Value;<br />
myPictureData.data= (byte[])parameterdata.Value;<br />
myPictureData.contenttype = (string) parametercontenttype.Value;<br />
<br />
myConnection.Close();<br />
<br />
return myPictureData;


Free your mind...
AnswerRe: Problems pulling an image out of SQL Pin
Mark DeVol29-Nov-05 11:55
Mark DeVol29-Nov-05 11:55 
QuestionFileNotFoundException with remoting Pin
Sylvain Boissé24-Nov-05 13:05
Sylvain Boissé24-Nov-05 13:05 
QuestionUser and Group Security Pin
jez12345624-Nov-05 11:33
jez12345624-Nov-05 11:33 
QuestionnumericUpDown + button + paint handler Pin
...---...24-Nov-05 9:07
...---...24-Nov-05 9:07 
AnswerRe: numericUpDown + button + paint handler Pin
Christian Graus24-Nov-05 9:27
protectorChristian Graus24-Nov-05 9:27 
QuestionRegular Expressions in .NET (C#) Pin
conrado724-Nov-05 8:47
conrado724-Nov-05 8:47 
AnswerRe: Regular Expressions in .NET (C#) Pin
Kevin McFarlane24-Nov-05 10:54
Kevin McFarlane24-Nov-05 10:54 
QuestionDataGrid row value Pin
webhay24-Nov-05 8:35
webhay24-Nov-05 8:35 
AnswerRe: DataGrid row value Pin
Stanciu Vlad24-Nov-05 9:01
Stanciu Vlad24-Nov-05 9:01 
GeneralRe: DataGrid row value Pin
webhay24-Nov-05 9:24
webhay24-Nov-05 9:24 
GeneralRe: DataGrid row value Pin
Stanciu Vlad24-Nov-05 9:29
Stanciu Vlad24-Nov-05 9:29 
QuestionFormatting Console.WriteLine Pin
budidharma24-Nov-05 8:03
budidharma24-Nov-05 8:03 
AnswerRe: Formatting Console.WriteLine Pin
Curtis Schlak.24-Nov-05 13:57
Curtis Schlak.24-Nov-05 13:57 
QuestionCode &amp; Compiler Efficiency Pin
Andrew day24-Nov-05 7:28
Andrew day24-Nov-05 7:28 
AnswerRe: Code &amp; Compiler Efficiency Pin
Colin Angus Mackay24-Nov-05 8:03
Colin Angus Mackay24-Nov-05 8:03 
AnswerRe: Code &amp;amp;amp; Compiler Efficiency Pin
Colin Angus Mackay24-Nov-05 8:29
Colin Angus Mackay24-Nov-05 8:29 
AnswerRe: Code &amp;amp; Compiler Efficiency Pin
leppie24-Nov-05 20:16
leppie24-Nov-05 20:16 

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.