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

C#

 
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 
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 
See my previous reply, my guess was correct!

public void UpdateMessageToIncludeMarkedNumber()
{    SqlCommand cmd = new SqlCommand();
    //.......
    for (int t = 0; t < Set10bytesMessage.Count; t++)
    {
        MarkedNumber mNumber = (MarkedNumber)Set10bytesMessage[t];
        for (int f = 0; f < Set30bytesMessage.Count; f++)
        {
                VopMessage vms = (VopMessage)Set30bytesMessage[f];
                if (mNumber.Byte4 == vms.Byte24 & mNumber.Byte5 == vms.Byte4)
                {
                    <big>//You repeatedly add the parameters here, not allowed</big>
                }
                //.......
            }
        }
        con.Open();
        <big>//You execute here: once!</big>
        cmd.ExecuteNonQuery();
        con.Close();
     }
}


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 
Questionclipboard pastes two times Pin
Erdinc276-Jan-11 22:52
Erdinc276-Jan-11 22:52 
AnswerRe: clipboard pastes two times Pin
JF20156-Jan-11 22:58
JF20156-Jan-11 22:58 

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.