Click here to Skip to main content
15,922,427 members
Home / Discussions / C#
   

C#

 
AnswerRe: desrialization fail due to xsi:type Pin
Peace ON20-Jul-10 1:17
Peace ON20-Jul-10 1:17 
GeneralRe: desrialization fail due to xsi:type Pin
jainiraj20-Jul-10 2:06
jainiraj20-Jul-10 2:06 
AnswerAlmost always a namespace issue Pin
Ennis Ray Lynch, Jr.20-Jul-10 3:23
Ennis Ray Lynch, Jr.20-Jul-10 3:23 
GeneralRe: Almost always a namespace issue Pin
jainiraj20-Jul-10 20:37
jainiraj20-Jul-10 20:37 
GeneralRe: Almost always a namespace issue Pin
Ennis Ray Lynch, Jr.21-Jul-10 3:22
Ennis Ray Lynch, Jr.21-Jul-10 3:22 
GeneralRe: Almost always a namespace issue Pin
jainiraj21-Jul-10 19:45
jainiraj21-Jul-10 19:45 
QuestionCompare 2 DataTables and insert differences into first table Pin
norjali19-Jul-10 22:21
norjali19-Jul-10 22:21 
AnswerRe: Compare 2 DataTables and insert differences into first table Pin
Peace ON19-Jul-10 22:35
Peace ON19-Jul-10 22:35 
There isn't any automated way to achieve the same.
You need to do it manually.

Just loop datatable for the number of rows for the
datatable has greater rows. i.e.

DataTable1 contains 5 rows
DataTable2 contains 6 rows

then write
for(i=0;i<<DataTable2.Rows.Count;i++)
{
    for(j=0;j<<DataTable1.Rows.Count;j++)
    {
        for(t=0;t<<DataTable1.Columns.Count;t++)
        {

        }
    }
}


Then manually compare each row and each column. You need to take two flags.
First flag set when the column of DataTable1 is not matched with DataTable2
for particular row.
Second flag set when there is new row in DataTable2 not matched with any row
of DataTable1.

And accordingly you can take actions.


HTH
Jinal Desai - LIVE
Experience is mother of sage....

AnswerRe: Compare 2 DataTables and insert differences into first table Pin
PIEBALDconsult20-Jul-10 3:31
mvePIEBALDconsult20-Jul-10 3:31 
QuestionHow to open a word document from C# application Pin
seeism19-Jul-10 22:04
seeism19-Jul-10 22:04 
AnswerRe: How to open a word document from C# application Pin
Luc Pattyn19-Jul-10 22:57
sitebuilderLuc Pattyn19-Jul-10 22:57 
GeneralRe: How to open a word document from C# application Pin
seeism20-Jul-10 0:26
seeism20-Jul-10 0:26 
GeneralRe: How to open a word document from C# application Pin
seeism20-Jul-10 0:44
seeism20-Jul-10 0:44 
AnswerRe: How to open a word document from C# application Pin
Peace ON19-Jul-10 23:04
Peace ON19-Jul-10 23:04 
GeneralRe: How to open a word document from C# application Pin
seeism20-Jul-10 0:27
seeism20-Jul-10 0:27 
AnswerRe: How to open a word document from C# application Pin
Luc Pattyn20-Jul-10 0:43
sitebuilderLuc Pattyn20-Jul-10 0:43 
GeneralRe: How to open a word document from C# application Pin
seeism20-Jul-10 0:49
seeism20-Jul-10 0:49 
GeneralRe: How to open a word document from C# application Pin
Luc Pattyn20-Jul-10 1:12
sitebuilderLuc Pattyn20-Jul-10 1:12 
GeneralRe: How to open a word document from C# application Pin
seeism20-Jul-10 1:25
seeism20-Jul-10 1:25 
GeneralRe: How to open a word document from C# application Pin
seeism20-Jul-10 19:00
seeism20-Jul-10 19:00 
QuestionError Getting Processor Id Pin
PDTUM19-Jul-10 13:44
PDTUM19-Jul-10 13:44 
AnswerRe: Error Getting Processor Id Pin
Luc Pattyn19-Jul-10 14:20
sitebuilderLuc Pattyn19-Jul-10 14:20 
GeneralRe: Error Getting Processor Id Pin
PDTUM19-Jul-10 16:50
PDTUM19-Jul-10 16:50 
Questionnode hottracking Pin
xilefxilef19-Jul-10 12:39
xilefxilef19-Jul-10 12:39 
Questionpass resource name as variable Pin
Jassim Rahma19-Jul-10 12:21
Jassim Rahma19-Jul-10 12:21 

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.