Click here to Skip to main content
15,895,709 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to put powerpoint on different displays (multiply monitors)? Pin
Luc Pattyn7-May-09 7:17
sitebuilderLuc Pattyn7-May-09 7:17 
GeneralRe: How to put powerpoint on different displays (multiply monitors)? Pin
molda7-May-09 21:40
molda7-May-09 21:40 
GeneralRe: How to put powerpoint on different displays (multiply monitors)? Pin
Luc Pattyn8-May-09 0:40
sitebuilderLuc Pattyn8-May-09 0:40 
QuestionPlease help with NHibernate. Could not compile the mapping document. Pin
Nopo7-May-09 4:45
Nopo7-May-09 4:45 
QuestionWatermarking over Video Pin
anki1237-May-09 3:19
anki1237-May-09 3:19 
AnswerRe: Watermarking over Video Pin
Rajesh R Subramanian7-May-09 3:26
professionalRajesh R Subramanian7-May-09 3:26 
QuestionRemove duplicate nodes from xml using c# Pin
ipstefan7-May-09 2:56
ipstefan7-May-09 2:56 
AnswerRe: Remove duplicate nodes from xml using c# Pin
musefan7-May-09 4:26
musefan7-May-09 4:26 
Probably be best to use a hash table...

have a look at the Dictionary[^] class.

Then read you xml file.
Loop all the entries.
Build a string[^] of all entry values.
Create a hash[^] of that string.
Check if the hash value is in the dictionary (with its Contains function)
If its not there then add it to the dictionary then export the entry row to the new xml file.
End of loop.

If you skip the hash step and simply add the built string then it will use more memory but the process speed may be faster. You will have to test and decide yourself.

Life goes very fast. Tomorrow, today is already yesterday.

GeneralRe: Remove duplicate nodes from xml using c# Pin
ipstefan7-May-09 6:00
ipstefan7-May-09 6:00 
GeneralRe: Remove duplicate nodes from xml using c# Pin
musefan7-May-09 6:13
musefan7-May-09 6:13 
GeneralRe: Remove duplicate nodes from xml using c# Pin
ipstefan7-May-09 7:00
ipstefan7-May-09 7:00 
GeneralRe: Remove duplicate nodes from xml using c# Pin
musefan7-May-09 21:58
musefan7-May-09 21:58 
GeneralRe: Remove duplicate nodes from xml using c# Pin
ipstefan8-May-09 20:51
ipstefan8-May-09 20:51 
QuestionListView - Select ListViewItem Pin
al3xutzu007-May-09 1:34
al3xutzu007-May-09 1:34 
AnswerRe: ListView - Select ListViewItem Pin
Nagy Vilmos7-May-09 1:51
professionalNagy Vilmos7-May-09 1:51 
GeneralRe: ListView - Select ListViewItem Pin
al3xutzu007-May-09 2:05
al3xutzu007-May-09 2:05 
AnswerRe: ListView - Select ListViewItem Pin
fly9047-May-09 2:01
fly9047-May-09 2:01 
AnswerRe: ListView - Select ListViewItem Pin
CPallini7-May-09 2:10
mveCPallini7-May-09 2:10 
JokeRe: ListView - Select ListViewItem Pin
Rajesh R Subramanian7-May-09 2:54
professionalRajesh R Subramanian7-May-09 2:54 
GeneralRe: ListView - Select ListViewItem Pin
Nagy Vilmos7-May-09 2:56
professionalNagy Vilmos7-May-09 2:56 
GeneralRe: ListView - Select ListViewItem Pin
Rajesh R Subramanian7-May-09 3:18
professionalRajesh R Subramanian7-May-09 3:18 
GeneralRe: ListView - Select ListViewItem Pin
Nagy Vilmos7-May-09 5:17
professionalNagy Vilmos7-May-09 5:17 
AnswerRe: ListView - Select ListViewItem Pin
Dan Neely7-May-09 3:11
Dan Neely7-May-09 3:11 
GeneralRe: ListView - Select ListViewItem Pin
al3xutzu007-May-09 6:50
al3xutzu007-May-09 6:50 
QuestionSave word in to picture. Pin
Prajeesh7-May-09 0:41
Prajeesh7-May-09 0:41 

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.