Click here to Skip to main content
15,895,871 members
Home / Discussions / Database
   

Database

 
AnswerRe: Calling a CLR assembly in SQL Server Pin
Vasudevan Deepak Kumar2-May-08 3:29
Vasudevan Deepak Kumar2-May-08 3:29 
GeneralRe: Calling a CLR assembly in SQL Server Pin
Member 39190492-May-08 7:23
Member 39190492-May-08 7:23 
GeneralRe: Calling a CLR assembly in SQL Server Pin
Member 39190492-May-08 9:00
Member 39190492-May-08 9:00 
QuestionProblem with DataView.RowFilter Pin
dergunnar1-May-08 10:58
dergunnar1-May-08 10:58 
AnswerRe: Problem with DataView.RowFilter Pin
CodingYoshi1-May-08 13:45
CodingYoshi1-May-08 13:45 
GeneralRe: Problem with DataView.RowFilter Pin
dergunnar2-May-08 12:26
dergunnar2-May-08 12:26 
QuestionComputing a field value in SQL server 7.0 Pin
VardhiniKanaks1-May-08 10:37
VardhiniKanaks1-May-08 10:37 
Questionhow to populate empty ms access database from dataset Pin
Shreyas Ganesh1-May-08 6:01
Shreyas Ganesh1-May-08 6:01 
Hi!

I thought i was heading somewhere with those links Blue_Boy had sent.. but i've been stuck for quite a while now. So let me describe my problem in more detail: Plese help me Frown | :(

I have 2 datasets, with identical schema. Now i have merged them using the dataset1.merge(dataset2) method. So my dataset1 is a merge of the two datasets. Now when i try to update the database of dataset1 using dataadapter.update().. method, i dont see the database getting updated.This is the code snippet...

<br />
            OleDbCommand accessCommandDB1 = new OleDbCommand(strAccessSelect, accessConnDb1);<br />
            OleDbDataAdapter dataAdapterDB1 = new OleDbDataAdapter(accessCommandDB1);<br />
            OleDbCommandBuilder commandBuilder = new OleDbCommandBuilder(dataAdapterDB1);<br />
<br />
            dataSetDB1.Merge(dataSetDB2);<br />
<br />
            n = dataAdapterDB1.Update(dataSetDB1, "Customers");<br />
<br />


I see that no records are updated, from the value of n(n =0 after the call)
What could be the reason? Note that i dont have any primay keys to any table in my database

Also wanted to know how to polpulate a fresh empty ACCESS database, with my dataset.. Again no primary keys for any table.. i would prefer this over the update method..

Please help me at the earliest.. Confused | :confused:

Awaiting your replies.... Confused | :confused: Confused | :confused:
Shreyas
AnswerRe: how to populate empty ms access database from dataset Pin
Kschuler1-May-08 7:34
Kschuler1-May-08 7:34 
GeneralRe: how to populate empty ms access database from dataset Pin
Shreyas Ganesh1-May-08 8:30
Shreyas Ganesh1-May-08 8:30 
GeneralRe: how to populate empty ms access database from dataset Pin
Kschuler1-May-08 8:41
Kschuler1-May-08 8:41 
GeneralRe: how to populate empty ms access database from dataset Pin
Shreyas Ganesh1-May-08 15:35
Shreyas Ganesh1-May-08 15:35 
GeneralRe: how to populate empty ms access database from dataset Pin
Kschuler2-May-08 3:38
Kschuler2-May-08 3:38 
GeneralRe: how to populate empty ms access database from dataset Pin
Blue_Boy2-May-08 5:56
Blue_Boy2-May-08 5:56 
GeneralRe: how to populate empty ms access database from dataset Pin
Shreyas Ganesh3-May-08 5:35
Shreyas Ganesh3-May-08 5:35 
Questionhow can i get Minmam value Pin
asha_s1-May-08 1:38
asha_s1-May-08 1:38 
AnswerRe: how can i get Minmam value Pin
Blue_Boy1-May-08 2:12
Blue_Boy1-May-08 2:12 
GeneralRe: how can i get Minmam value Pin
asha_s1-May-08 2:32
asha_s1-May-08 2:32 
GeneralRe: how can i get Minmam value Pin
Blue_Boy1-May-08 2:46
Blue_Boy1-May-08 2:46 
GeneralRe: how can i get Minmam value Pin
asha_s1-May-08 3:13
asha_s1-May-08 3:13 
GeneralRe: how can i get Minmam value Pin
Blue_Boy1-May-08 3:26
Blue_Boy1-May-08 3:26 
GeneralRe: how can i get Minmam value Pin
asha_s1-May-08 3:36
asha_s1-May-08 3:36 
GeneralRe: how can i get Minmam value Pin
Blue_Boy1-May-08 3:40
Blue_Boy1-May-08 3:40 
GeneralRe: how can i get Minmam value Pin
asha_s1-May-08 3:44
asha_s1-May-08 3:44 
GeneralRe: how can i get Minmam value Pin
Blue_Boy1-May-08 3:47
Blue_Boy1-May-08 3:47 

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.