Click here to Skip to main content
16,011,784 members
Home / Discussions / C#
   

C#

 
Questioncreate a modern dictionary Pin
mory_2607-Jan-11 21:24
mory_2607-Jan-11 21:24 
AnswerRe: create a modern dictionary Pin
OriginalGriff7-Jan-11 22:04
mveOriginalGriff7-Jan-11 22:04 
AnswerRe: create a modern dictionary Pin
Abhinav S8-Jan-11 0:51
Abhinav S8-Jan-11 0:51 
AnswerRe: create a modern dictionary Pin
Not Active8-Jan-11 3:24
mentorNot Active8-Jan-11 3:24 
AnswerRe: create a modern dictionary Pin
Yusuf8-Jan-11 4:48
Yusuf8-Jan-11 4:48 
GeneralRe: create a modern dictionary Pin
Ali Al Omairi(Abu AlHassan)8-Jan-11 9:53
professionalAli Al Omairi(Abu AlHassan)8-Jan-11 9:53 
QuestionI Want to know where's the error in this update Method ? Pin
Honeyboy_207-Jan-11 9:18
Honeyboy_207-Jan-11 9:18 
AnswerMy guess Pin
Keith Barrow7-Jan-11 9:28
professionalKeith Barrow7-Jan-11 9:28 
You are only processing the last item in in Set30bytesMessage for the last item in Set10bytesMessage, if at all???

You repeatedly add the parameters in the the loop, so each parameter is potentially added more than once. Without knowing exactly what you are doing it is hard to tell but I'd hazard a guess and say you need to do this:


  1. The you should add the parameters before the loop
  2. The values of the parameters should be set inside the loop
  3. The ExecuteNonQuery should happen inside the loop for each item

Is that any help? Some clue about what is going wrong/ what you expect would be good!

GeneralRe: My guess Pin
Honeyboy_207-Jan-11 10:15
Honeyboy_207-Jan-11 10:15 
GeneralRe: My guess Pin
Keith Barrow7-Jan-11 10:29
professionalKeith Barrow7-Jan-11 10:29 
GeneralRe: My guess Pin
Eddy Vluggen7-Jan-11 11:12
professionalEddy Vluggen7-Jan-11 11:12 
GeneralRe: My guess Pin
Not Active7-Jan-11 11:53
mentorNot Active7-Jan-11 11:53 
GeneralRe: My guess Pin
Eddy Vluggen7-Jan-11 22:05
professionalEddy Vluggen7-Jan-11 22:05 
GeneralRe: My guess Pin
Honeyboy_207-Jan-11 11:20
Honeyboy_207-Jan-11 11:20 
GeneralRe: My guess Pin
Not Active7-Jan-11 11:50
mentorNot Active7-Jan-11 11:50 
GeneralRe: My guess Pin
Honeyboy_207-Jan-11 12:04
Honeyboy_207-Jan-11 12:04 
GeneralRe: I Want to know where's the error in this update Method ? Pin
JOAT-MON7-Jan-11 9:29
JOAT-MON7-Jan-11 9:29 
AnswerRe: I Want to know where's the error in this update Method ? Pin
#realJSOP8-Jan-11 0:22
professional#realJSOP8-Jan-11 0:22 
Question.NET 4 changes to Type.GetProperties Pin
AndyGray7-Jan-11 6:07
AndyGray7-Jan-11 6:07 
AnswerRe: .NET 4 changes to Type.GetProperties Pin
Richard MacCutchan7-Jan-11 8:21
mveRichard MacCutchan7-Jan-11 8:21 
GeneralRe: .NET 4 changes to Type.GetProperties Pin
AndyGray8-Jan-11 6:37
AndyGray8-Jan-11 6:37 
AnswerRe: .NET 4 changes to Type.GetProperties Pin
#realJSOP8-Jan-11 0:26
professional#realJSOP8-Jan-11 0:26 
GeneralRe: .NET 4 changes to Type.GetProperties Pin
AndyGray8-Jan-11 6:39
AndyGray8-Jan-11 6:39 
GeneralRe: .NET 4 changes to Type.GetProperties Pin
#realJSOP8-Jan-11 6:48
professional#realJSOP8-Jan-11 6:48 
Questionenums in a class display in Class View alongside classes Pin
bob169727-Jan-11 4:53
bob169727-Jan-11 4:53 

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.