Click here to Skip to main content
16,008,010 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to order ToolStrip Pin
ZejulioZ1-Apr-09 22:49
ZejulioZ1-Apr-09 22:49 
QuestionBarcode type recognision Pin
paper6720-May-08 7:56
paper6720-May-08 7:56 
AnswerCROSS POST Pin
leckey20-May-08 7:59
leckey20-May-08 7:59 
QuestionBadImageFormatException while calling DLL in C# winx64 system? Why it gives error? Pin
sharp_k20-May-08 7:39
sharp_k20-May-08 7:39 
Questionhow to pass value of one page to another Pin
salil_k_singh20-May-08 6:21
salil_k_singh20-May-08 6:21 
AnswerRe: how to pass value of one page to another Pin
User 665820-May-08 6:43
User 665820-May-08 6:43 
AnswerRe: how to pass value of one page to another Pin
Gareth H20-May-08 7:12
Gareth H20-May-08 7:12 
QuestionDataSet merge method usage question. Pin
oscarderooij20-May-08 5:44
oscarderooij20-May-08 5:44 
Hi there,
I'm having trouble understanding the usage of the merge function from DataSet objects.
Well, first I thought that it would only Add and Update existing rows from the target DataSet based on the new rows and modified rows in the source DataSet.

But for some reason my Merge function is actually deleting rows from the target wich are not in the source DataSet (this is EXACTLY what I want, I want it to DELETE rows too!)

My problem is that for some reason it is not deleting other rows, it just deletes a specific level.

Let me detail the context:
My dataset is composed by 3 levels (Clients -> Accounts -> Products).
When I merge DataSet1 with DataSet2 ( DataSet1.Merge(DataSet2, false) ) I want it to:
Add/Update Clients, Accounts and Products in DataSet1

AND

Delete Clients,Accounts and Products wich are not in DataSet2.

This DO happen in Products level, but NOT in Clients and Accounts level.
Any ideas on how to solve this problem?

For more information, please do ask.
Thanks
Oscar
AnswerRe: DataSet merge method usage question. Pin
topcatalpha20-May-08 21:27
topcatalpha20-May-08 21:27 
GeneralRe: DataSet merge method usage question. Pin
oscarderooij21-May-08 7:35
oscarderooij21-May-08 7:35 
QuestionC# Programming Challenge - By Reelix Pin
Reelix20-May-08 5:03
Reelix20-May-08 5:03 
AnswerRe: C# Programming Challenge - By Reelix [modified] Pin
originSH20-May-08 5:33
originSH20-May-08 5:33 
GeneralRe: C# Programming Challenge - By Reelix Pin
ssclaire20-May-08 6:35
ssclaire20-May-08 6:35 
GeneralRe: C# Programming Challenge - By Reelix Pin
User 665820-May-08 6:40
User 665820-May-08 6:40 
GeneralRe: C# Programming Challenge - By Reelix Pin
Guffa20-May-08 9:17
Guffa20-May-08 9:17 
GeneralRe: C# Programming Challenge - By Reelix Pin
Reelix20-May-08 9:10
Reelix20-May-08 9:10 
AnswerRe: C# Programming Challenge - By Reelix Pin
geekfromindia20-May-08 5:51
geekfromindia20-May-08 5:51 
GeneralRe: C# Programming Challenge - By Reelix Pin
Reelix20-May-08 9:05
Reelix20-May-08 9:05 
AnswerRe: C# Programming Challenge - By Reelix Pin
geekfromindia20-May-08 5:56
geekfromindia20-May-08 5:56 
AnswerRe: C# Programming Challenge - By Reelix [modified] Pin
User 665820-May-08 6:09
User 665820-May-08 6:09 
GeneralRe: C# Programming Challenge - By Reelix Pin
Reelix20-May-08 9:12
Reelix20-May-08 9:12 
AnswerToo easy Pin
Guffa20-May-08 8:01
Guffa20-May-08 8:01 
GeneralRe: Too easy Pin
Reelix20-May-08 9:17
Reelix20-May-08 9:17 
GeneralRe: Too easy Pin
Guffa20-May-08 9:21
Guffa20-May-08 9:21 
GeneralRe: Too easy Pin
Reelix20-May-08 19:58
Reelix20-May-08 19: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.