Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: Win32 Shell Lightweight Utility API (shlwapi.dll) wrapper Pin
Paul Selormey17-Sep-08 21:33
Paul Selormey17-Sep-08 21:33 
QuestionNativeMethods is inaccesible due to its protection lavel Pin
amit_8317-Sep-08 18:44
amit_8317-Sep-08 18:44 
QuestionRe: NativeMethods is inaccesible due to its protection lavel Pin
Paul Selormey17-Sep-08 18:51
Paul Selormey17-Sep-08 18:51 
AnswerRe: NativeMethods is inaccesible due to its protection lavel Pin
Igor Velikorossov17-Sep-08 19:29
Igor Velikorossov17-Sep-08 19:29 
QuestionSystem.stackoverflowexception Pin
tauras8117-Sep-08 18:03
tauras8117-Sep-08 18:03 
AnswerRe: System.stackoverflowexception Pin
dybs17-Sep-08 18:13
dybs17-Sep-08 18:13 
GeneralRe: System.stackoverflowexception Pin
tauras8118-Sep-08 2:49
tauras8118-Sep-08 2:49 
QuestionBeginLoadData()????? Pin
Twyce17-Sep-08 17:33
Twyce17-Sep-08 17:33 
The following code is supposed to be comparing two datasets and then load the rows that are not duplicates into a third datatable.Instead it repeats the rows that are already in the database(making more duplicates).Could someone tell me what i am doing wrong.

foreach (DataRow parentrow in dsImport.Tables[2].Rows)
{
DataRow[] childrows = parentrow.GetChildRows(r);
if (childrows == null || childrows.Length == 0)
dtImport.LoadDataRow(parentrow.ItemArray, true);
}

foreach (DataRow databaseRow in dsImport.Tables["StudentModule"].Rows)
{
foreach (DataRow spreadRow in dsImport.Tables["Sheet1$"].Rows)
{
if (spreadRow != databaseRow)
{
dtImport.BeginLoadData();
}
}
}

}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
return dtImport
AnswerRe: BeginLoadData()????? Pin
Harvey Saayman17-Sep-08 21:03
Harvey Saayman17-Sep-08 21:03 
QuestionPowerPoint Automation Pin
Patrick Kilgore17-Sep-08 12:20
Patrick Kilgore17-Sep-08 12:20 
Questionhow can i get the root folder for my program after setup Pin
ahmedhassan9617-Sep-08 11:26
ahmedhassan9617-Sep-08 11:26 
AnswerRe: how can i get the root folder for my program after setup Pin
DaveyM6917-Sep-08 11:35
professionalDaveyM6917-Sep-08 11:35 
GeneralRe: how can i get the root folder for my program after setup Pin
ahmedhassan9617-Sep-08 12:21
ahmedhassan9617-Sep-08 12:21 
QuestionMigration from C# to java Pin
Monika Patel17-Sep-08 10:41
Monika Patel17-Sep-08 10:41 
QuestionHow to use rtf table of contents in RichTextBox Pin
panoskatws17-Sep-08 9:45
panoskatws17-Sep-08 9:45 
AnswerRe: How to use rtf table of contents in RichTextBox Pin
Dave Kreskowiak17-Sep-08 10:31
mveDave Kreskowiak17-Sep-08 10:31 
QuestionCodepages and character encoding Pin
Miszou17-Sep-08 9:09
Miszou17-Sep-08 9:09 
QuestionBuilding a testing class Pin
OneLessJpeg17-Sep-08 9:02
OneLessJpeg17-Sep-08 9:02 
AnswerRe: Building a testing class Pin
Pete O'Hanlon17-Sep-08 9:07
mvePete O'Hanlon17-Sep-08 9:07 
QuestionDetermining type compatiblity Pin
Clive D. Pottinger17-Sep-08 8:27
Clive D. Pottinger17-Sep-08 8:27 
AnswerRe: Determining type compatiblity Pin
Pete O'Hanlon17-Sep-08 9:11
mvePete O'Hanlon17-Sep-08 9:11 
AnswerRe: Determining type compatiblity Pin
User 665817-Sep-08 9:23
User 665817-Sep-08 9:23 
GeneralRe: Determining type compatiblity Pin
Clive D. Pottinger17-Sep-08 9:51
Clive D. Pottinger17-Sep-08 9:51 
QuestionreSetting old values Pin
netJP12L17-Sep-08 7:30
netJP12L17-Sep-08 7:30 
AnswerRe: reSetting old values Pin
Jimmanuel17-Sep-08 9:26
Jimmanuel17-Sep-08 9:26 

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.