Click here to Skip to main content
15,919,341 members
Home / Discussions / C#
   

C#

 
GeneralProblem with merging 2 DataTables Pin
kallileo7-Apr-08 1:26
kallileo7-Apr-08 1:26 
GeneralRe: Problem with merging 2 DataTables Pin
lsconyer7-Apr-08 2:17
lsconyer7-Apr-08 2:17 
GeneralRe: Problem with merging 2 DataTables Pin
kallileo7-Apr-08 2:29
kallileo7-Apr-08 2:29 
GeneralRe: Problem with merging 2 DataTables Pin
lsconyer7-Apr-08 2:39
lsconyer7-Apr-08 2:39 
GeneralRe: Problem with merging 2 DataTables Pin
kallileo7-Apr-08 2:49
kallileo7-Apr-08 2:49 
GeneralRe: Problem with merging 2 DataTables Pin
lsconyer7-Apr-08 2:54
lsconyer7-Apr-08 2:54 
GeneralRe: Problem with merging 2 DataTables Pin
kallileo7-Apr-08 3:11
kallileo7-Apr-08 3:11 
GeneralRe: Problem with merging 2 DataTables Pin
kallileo10-Apr-08 3:20
kallileo10-Apr-08 3:20 
Found it..

The problem was that after the Merge none of the rows in data table had the state RowState Changed or Added. The update methon had nothing to apply.

This peace of code made the whole class work as it should:

foreach (DataRow row in ds1.Tables["db2_table1"].Rows)<br />
       row.SetAdded();


Thanks
QuestionC#:How to load max no of records in a combobox(more than 40000) Pin
kssknov7-Apr-08 1:18
kssknov7-Apr-08 1:18 
GeneralRe: C#:How to load max no of records in a combobox(more than 40000) Pin
darkelv7-Apr-08 1:37
darkelv7-Apr-08 1:37 
GeneralRe: C#:How to load max no of records in a combobox(more than 40000) Pin
kssknov7-Apr-08 1:42
kssknov7-Apr-08 1:42 
GeneralRe: C#:How to load max no of records in a combobox(more than 40000) Pin
Ashfield7-Apr-08 1:50
Ashfield7-Apr-08 1:50 
GeneralRe: C#:How to load max no of records in a combobox(more than 40000) Pin
darkelv7-Apr-08 2:36
darkelv7-Apr-08 2:36 
QuestionVery trivial question.. Pin
ptr2void7-Apr-08 0:51
ptr2void7-Apr-08 0:51 
GeneralRe: Very trivial question.. Pin
Xmen Real 7-Apr-08 0:59
professional Xmen Real 7-Apr-08 0:59 
QuestionRe: Very trivial question.. Pin
ptr2void7-Apr-08 1:08
ptr2void7-Apr-08 1:08 
GeneralRe: Very trivial question.. Pin
Xmen Real 7-Apr-08 1:18
professional Xmen Real 7-Apr-08 1:18 
GeneralProblem with printdialog Pin
D i x y7-Apr-08 0:31
D i x y7-Apr-08 0:31 
GeneralRe: Problem with printdialog Pin
Xmen Real 7-Apr-08 0:53
professional Xmen Real 7-Apr-08 0:53 
GeneralRe: Problem with printdialog Pin
D i x y7-Apr-08 1:31
D i x y7-Apr-08 1:31 
GeneralRe: Problem with printdialog Pin
Xmen Real 7-Apr-08 1:40
professional Xmen Real 7-Apr-08 1:40 
QuestionAdding hex values Pin
ONeil Tomlinson7-Apr-08 0:23
ONeil Tomlinson7-Apr-08 0:23 
GeneralRe: Adding hex values Pin
Christian Graus7-Apr-08 0:25
protectorChristian Graus7-Apr-08 0:25 
GeneralRe: Adding hex values Pin
ONeil Tomlinson7-Apr-08 3:07
ONeil Tomlinson7-Apr-08 3:07 
GeneralRe: Adding hex values Pin
Dave Kreskowiak7-Apr-08 4:19
mveDave Kreskowiak7-Apr-08 4:19 

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.