Click here to Skip to main content
15,914,250 members
Home / Discussions / C#
   

C#

 
GeneralRe: registry.classesroot Pin
Stefan Troschuetz7-Feb-07 1:18
Stefan Troschuetz7-Feb-07 1:18 
GeneralRe: registry.classesroot Pin
GunaChinna7-Feb-07 1:28
GunaChinna7-Feb-07 1:28 
QuestionDataGrid - XML Pin
The Brazilian One7-Feb-07 0:43
The Brazilian One7-Feb-07 0:43 
AnswerRe: DataGrid - XML Pin
blue_arc7-Feb-07 0:45
blue_arc7-Feb-07 0:45 
GeneralRe: DataGrid - XML Pin
The Brazilian One7-Feb-07 0:53
The Brazilian One7-Feb-07 0:53 
GeneralRe: DataGrid - XML Pin
Ryno Burger7-Feb-07 1:01
Ryno Burger7-Feb-07 1:01 
GeneralRe: DataGrid - XML Pin
The Brazilian One7-Feb-07 1:03
The Brazilian One7-Feb-07 1:03 
QuestionFill a DataSet from a data source and update another data source Pin
Kamran Zafar7-Feb-07 0:31
Kamran Zafar7-Feb-07 0:31 
My task is to fill a DataSet from a data source and update another data source
in C#.

For example I have two databases in SQL Server (i.e. db1 and db2).
I have table named ProdMkt_Contrib_Link in db1 with following columns:

ProdMkt_Contrib_Link
--------------------
ProdMktContributorID (PK)
ProductMarketID
Priority
Inactive
Contrib_Type_Override
ProdMkt_Contrib_Link_ID

The above columns data should be mapped/sync to the table named
ProdMktContribLink in db2:

ProdMktContribLink
------------------
ProdMktContributorID (PK)
ProductMarketID
Priority
InactiveFG
ContribTypeOverRide
AcumenProdMktContribLinkID

Note: The table name and few column name are different


Suppose few records are added and few are updated in the
db1.ProdMkt_Contrib_Link table.

I have filled the typed DataSet (DS1) with db1.ProdMkt_Contrib_Link (this
contains only added and updated records) ans also filled the another DataSet
(DS2) with db2.ProdMktContribLink (this contains all records).

Now I want that DS1 should be sync with the DS2. That is, the added records
should be added to the DS2 table rows and also updated records should be updated
to the DS2 table rows.

How can I achieve this in c#. Please suggest any good design or sample code.

Thanks,
Kamran
Questionget value from database into a variable Pin
Nekshan7-Feb-07 0:22
Nekshan7-Feb-07 0:22 
AnswerRe: get value from database into a variable Pin
blue_arc7-Feb-07 0:43
blue_arc7-Feb-07 0:43 
AnswerRe: get value from database into a variable Pin
Corinna John7-Feb-07 0:48
Corinna John7-Feb-07 0:48 
AnswerRe: get value from database into a variable Pin
aSarafian7-Feb-07 0:52
aSarafian7-Feb-07 0:52 
QuestionInterface Implementation Pin
naveen srirangam7-Feb-07 0:03
naveen srirangam7-Feb-07 0:03 
AnswerRe: Interface Implementation Pin
gauthee7-Feb-07 0:12
gauthee7-Feb-07 0:12 
GeneralRe: Interface Implementation Pin
Luc Pattyn7-Feb-07 7:59
sitebuilderLuc Pattyn7-Feb-07 7:59 
Questionget a value from database into a variable Pin
Nekshan7-Feb-07 0:02
Nekshan7-Feb-07 0:02 
AnswerRe: get a value from database into a variable Pin
gauthee7-Feb-07 0:10
gauthee7-Feb-07 0:10 
GeneralRe: get a value from database into a variable Pin
Nekshan7-Feb-07 0:20
Nekshan7-Feb-07 0:20 
GeneralRe: get a value from database into a variable Pin
gauthee7-Feb-07 0:38
gauthee7-Feb-07 0:38 
QuestionCompactframe work(2.0) can support treeview.backcolour? Pin
Sri harini6-Feb-07 23:50
Sri harini6-Feb-07 23:50 
Questionusing TreeView as a menu Pin
Rocky#6-Feb-07 23:42
Rocky#6-Feb-07 23:42 
AnswerRe: using TreeView as a menu Pin
VirtualVoid.NET7-Feb-07 1:35
VirtualVoid.NET7-Feb-07 1:35 
AnswerRe: using TreeView as a menu Pin
Rizawn7-Feb-07 5:38
Rizawn7-Feb-07 5:38 
GeneralRe: using TreeView as a menu Pin
Rocky#7-Feb-07 19:06
Rocky#7-Feb-07 19:06 
Questionremote Pin
mihksoft6-Feb-07 23:01
mihksoft6-Feb-07 23:01 

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.