Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
AnswerRe: why VS2010 Solution created sdf file? Pin
Richard MacCutchan19-May-10 4:30
mveRichard MacCutchan19-May-10 4:30 
Questioncomparison between two diffrent array Pin
itfaiza18-May-10 19:19
itfaiza18-May-10 19:19 
AnswerRe: comparison between two diffrent array Pin
neal12318-May-10 19:35
neal12318-May-10 19:35 
QuestionHow to combine byte array with sql command Pin
amit_8318-May-10 18:37
professionalamit_8318-May-10 18:37 
AnswerRe: How to combine byte array with sql command Pin
Abhinav S18-May-10 18:51
Abhinav S18-May-10 18:51 
GeneralRe: How to combine byte array with sql command Pin
amit_8318-May-10 18:57
professionalamit_8318-May-10 18:57 
AnswerRe: How to combine byte array with sql command Pin
Alden.Gao18-May-10 23:24
Alden.Gao18-May-10 23:24 
AnswerRe: How to combine byte array with sql command Pin
Erich Ledesma19-May-10 1:44
Erich Ledesma19-May-10 1:44 
If you try to inline the array into a string C# compiler will create a ToString() call, that's why you're getting a 'System.Bytes' instead of array values. I think you should try to use SqlCommand parameters instead.

SqlCommand cmd = new SqlCommand("Update table1 SET col1=@ByteArray where colid=1", conn) ;

cmd.Parameters.Add("@ByteArray", <Correct Column Type>).Value = byteData;

cmd.ExecuteNonQuery() ;


Almost the same as the image example....

Greettings.
QuestionWorking on with word files Pin
CodingLover18-May-10 18:09
CodingLover18-May-10 18:09 
AnswerRe: Working on with word files Pin
Christo66718-May-10 23:04
Christo66718-May-10 23:04 
AnswerRe: Working on with word files Pin
CodingLover19-May-10 17:41
CodingLover19-May-10 17:41 
GeneralRe: Working on with word files Pin
Christo66720-May-10 2:27
Christo66720-May-10 2:27 
QuestionHow to binding TreeView to Unlimit Category? Pin
yuzifu18-May-10 17:00
yuzifu18-May-10 17:00 
AnswerRe: How to binding TreeView to Unlimit Category? Pin
Christo66718-May-10 23:09
Christo66718-May-10 23:09 
Questionplease help me!, delete error of the image files(attached source code) Pin
sonic74718-May-10 15:06
sonic74718-May-10 15:06 
AnswerRe: please help me!, delete error of the image files(attached source code) Pin
Yusuf18-May-10 15:33
Yusuf18-May-10 15:33 
AnswerRe: please help me!, delete error of the image files(attached source code) Pin
Luc Pattyn18-May-10 15:33
sitebuilderLuc Pattyn18-May-10 15:33 
AnswerRe: please help me!, delete error of the image files(attached source code) [modified] Pin
Dr.Walt Fair, PE18-May-10 15:46
professionalDr.Walt Fair, PE18-May-10 15:46 
GeneralRe: please help me!, delete error of the image files(attached source code) Pin
Luc Pattyn18-May-10 16:16
sitebuilderLuc Pattyn18-May-10 16:16 
GeneralRe: please help me!, delete error of the image files(attached source code) Pin
Dr.Walt Fair, PE18-May-10 16:30
professionalDr.Walt Fair, PE18-May-10 16:30 
GeneralRe: please help me!, delete error of the image files(attached source code) Pin
Luc Pattyn18-May-10 16:31
sitebuilderLuc Pattyn18-May-10 16:31 
GeneralRe: please help me!, delete error of the image files(attached source code) Pin
Dr.Walt Fair, PE18-May-10 18:12
professionalDr.Walt Fair, PE18-May-10 18:12 
QuestionMy LCD doesnt show anything? [modified] Pin
THeKiNG2018-May-10 14:54
THeKiNG2018-May-10 14:54 
AnswerRe: My LCD doesnt show anything? Pin
Yusuf18-May-10 15:34
Yusuf18-May-10 15:34 
GeneralRe: My LCD doesnt show anything? Pin
THeKiNG2018-May-10 15:39
THeKiNG2018-May-10 15:39 

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.