Click here to Skip to main content
15,884,537 members
Home / Discussions / C#
   

C#

 
AnswerRe: Regarding .Net consultant Pin
Richard MacCutchan21-May-14 21:56
mveRichard MacCutchan21-May-14 21:56 
AnswerRe: Regarding .Net consultant Pin
BobJanova22-May-14 2:01
BobJanova22-May-14 2:01 
AnswerRe: Regarding .Net consultant Pin
Dave Kreskowiak22-May-14 4:22
mveDave Kreskowiak22-May-14 4:22 
GeneralRe: Regarding .Net consultant Pin
Pete O'Hanlon22-May-14 6:47
mvePete O'Hanlon22-May-14 6:47 
GeneralRe: Regarding .Net consultant Pin
Dave Kreskowiak22-May-14 11:15
mveDave Kreskowiak22-May-14 11:15 
GeneralComparison of 2 DataTable too slow Pin
diego_ric21-May-14 18:05
diego_ric21-May-14 18:05 
AnswerRe: Comparison of 2 DataTable too slow Pin
Karen Mitchelle21-May-14 18:54
professionalKaren Mitchelle21-May-14 18:54 
GeneralRe: Comparison of 2 DataTable too slow Pin
diego_ric22-May-14 4:32
diego_ric22-May-14 4:32 
Hi, this is the function where i make some of the comparison, in this case i need to find if exist a difference between 2 fields of the tables.

DataView dv = new DataView(dt1);
            dv.RowFilter = "[Design Data] NOT LIKE ''";
            filesSTdt = dv.ToTable();
            DataView dv2 = new DataView(filesSTdt);
            int contRow = 0;
            bool foundflag;
            string designDataL, MpStatusF, MpStatusL, MpF, MpL;
            string[] designDataF;
            for (int k = 0; k < dt1.Columns.Count; k++)
            {
                dt3.Columns.Add(dt1.Columns[k].ToString(), Type.GetType("System.String"));
            }
            for (int i = 0; i < dt2.Rows.Count; i++)
            {
                designDataL = dt2.Rows[i]["DS-PZ"].ToString();
                MpL = dt2.Rows[i]["MP"].ToString();
                MpStatusL = dt2.Rows[i]["Status"].ToString();
                dv2.RowFilter = "[Design Data] LIKE '" + designDataL + " A' AND [Change] = '" + MpL + "'";
                filesSTdt = dv2.ToTable();
                if (filesSTdt.Rows.Count > 0)
                {
                    for (int j = 0; j < filesSTdt.Rows.Count; j++)
                    {
                        designDataF = filesSTdt.Rows[j]["Design Data"].ToString().Split(' ');
                        MpStatusF = filesSTdt.Rows[j]["Implementation Status"].ToString();
                        MpF = filesSTdt.Rows[j]["Change"].ToString();
                        if (designDataL == designDataF[0])
                        {
                            if (MpStatusL != MpStatusF)
                            {
                                dt3.ImportRow(filesSTdt.Rows[j]);
                                dt3.Rows[contRow]["Implementation Status"] = MpStatusL;
                                contRow = contRow + 1;
                            }
                        }
                    }
                }
            }

GeneralRe: Comparison of 2 DataTable too slow Pin
Mycroft Holmes21-May-14 19:27
professionalMycroft Holmes21-May-14 19:27 
GeneralRe: Comparison of 2 DataTable too slow Pin
diego_ric22-May-14 6:30
diego_ric22-May-14 6:30 
GeneralRe: Comparison of 2 DataTable too slow Pin
Mycroft Holmes22-May-14 12:41
professionalMycroft Holmes22-May-14 12:41 
QuestionHow do you build a 1 click application that will alow you to change users using a smart card Pin
Steven Richardson21-May-14 10:37
Steven Richardson21-May-14 10:37 
AnswerRe: How do you build a 1 click application that will alow you to change users using a smart card Pin
Mycroft Holmes21-May-14 19:32
professionalMycroft Holmes21-May-14 19:32 
SuggestionRe: How do you build a 1 click application that will alow you to change users using a smart card Pin
Richard MacCutchan21-May-14 21:59
mveRichard MacCutchan21-May-14 21:59 
GeneralRe: How do you build a 1 click application that will alow you to change users using a smart card Pin
Steven Richardson22-May-14 5:25
Steven Richardson22-May-14 5:25 
GeneralRe: How do you build a 1 click application that will alow you to change users using a smart card Pin
Richard MacCutchan22-May-14 6:28
mveRichard MacCutchan22-May-14 6:28 
GeneralRe: How do you build a 1 click application that will alow you to change users using a smart card Pin
Steven Richardson22-May-14 7:19
Steven Richardson22-May-14 7:19 
GeneralRe: How do you build a 1 click application that will alow you to change users using a smart card Pin
Richard MacCutchan22-May-14 7:21
mveRichard MacCutchan22-May-14 7:21 
Questionunity 2D C# coding problem Pin
Sepehr M21-May-14 9:00
Sepehr M21-May-14 9:00 
AnswerRe: unity 2D C# coding problem Pin
OriginalGriff21-May-14 9:13
mveOriginalGriff21-May-14 9:13 
QuestionPolymorphism In C# Pin
Member 1059122721-May-14 6:14
Member 1059122721-May-14 6:14 
AnswerRe: Polymorphism In C# Pin
OriginalGriff21-May-14 6:23
mveOriginalGriff21-May-14 6:23 
GeneralRe: Polymorphism In C# Pin
Member 1059122721-May-14 7:08
Member 1059122721-May-14 7:08 
GeneralRe: Polymorphism In C# Pin
OriginalGriff21-May-14 8:02
mveOriginalGriff21-May-14 8:02 
AnswerRe: Polymorphism In C# Pin
Eddy Vluggen21-May-14 9:40
professionalEddy Vluggen21-May-14 9:40 

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.