Click here to Skip to main content
16,004,192 members
Home / Discussions / Database
   

Database

 
AnswerRe: Super basic databinding Pin
Syed Mehroz Alam23-Dec-08 19:03
Syed Mehroz Alam23-Dec-08 19:03 
Since you are calling dataset.AcceptChanges() before DataAdapter.Update(), so the changes are lost. Try this: (sequence of the two statements reversed)

dataAdapterFinca.Update( dataSetFinca, "Finca" );
dataSetFinca.AcceptChanges();


By the way, I also think that DataAdapter.Update() itself calls DataSet.AcceptChanges() after committing the updates, in which case the last statement will not have any effect and you can safely remove it after confirming.

Regards,
Syed Mehroz Alam

My Blog
My Articles

Computers are incredibly fast, accurate, and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination. - Albert Einstein

GeneralRe: Super basic databinding Pin
Brice1424-Dec-08 5:02
Brice1424-Dec-08 5:02 
Questionhelp................! Pin
podolski23-Dec-08 15:39
podolski23-Dec-08 15:39 
AnswerRe: help................! Pin
Paddy Boyd23-Dec-08 22:20
Paddy Boyd23-Dec-08 22:20 
QuestionSybase AutoNumber/Identity Column Resetting Pin
mobius11100123-Dec-08 8:28
mobius11100123-Dec-08 8:28 
AnswerRe: Sybase AutoNumber/Identity Column Resetting Pin
Wendelius23-Dec-08 8:44
mentorWendelius23-Dec-08 8:44 
Questionformat date [modified] Pin
cbe_pav23-Dec-08 1:26
cbe_pav23-Dec-08 1:26 
AnswerRe: format date Pin
Syed Mehroz Alam23-Dec-08 20:52
Syed Mehroz Alam23-Dec-08 20:52 
GeneralRe: format date Pin
cbe_pav23-Dec-08 23:59
cbe_pav23-Dec-08 23:59 
QuestionQuery Optimization Pin
ruanr23-Dec-08 0:30
ruanr23-Dec-08 0:30 
AnswerRe: Query Optimization Pin
Paddy Boyd23-Dec-08 0:52
Paddy Boyd23-Dec-08 0:52 
AnswerRe: Query Optimization Pin
Wendelius23-Dec-08 3:18
mentorWendelius23-Dec-08 3:18 
QuestionInsert/Update command with Case in sql server Pin
Uma Kameswari22-Dec-08 22:28
Uma Kameswari22-Dec-08 22:28 
AnswerRe: Insert/Update command with Case in sql server Pin
Wendelius23-Dec-08 3:19
mentorWendelius23-Dec-08 3:19 
QuestionWill MS SQL 2008 recongize an xsd that uses "include"? Pin
CodeBase2522-Dec-08 7:23
CodeBase2522-Dec-08 7:23 
GeneralSql Server Integration Services book recommendation [modified] Pin
givi_s22-Dec-08 3:02
givi_s22-Dec-08 3:02 
GeneralRe: Sql Server Integration Services book recommendation Pin
Abhijit Jana22-Dec-08 3:11
professionalAbhijit Jana22-Dec-08 3:11 
GeneralRe: Sql Server Integration Services book recommendation Pin
Mycroft Holmes22-Dec-08 14:07
professionalMycroft Holmes22-Dec-08 14:07 
QuestionOleDb? Pin
dec8222-Dec-08 1:45
dec8222-Dec-08 1:45 
AnswerRe: OleDb? Pin
Wendelius22-Dec-08 1:50
mentorWendelius22-Dec-08 1:50 
GeneralRe: OleDb? Pin
dec8222-Dec-08 1:57
dec8222-Dec-08 1:57 
GeneralRe: OleDb? Pin
Jay Royall22-Dec-08 2:37
Jay Royall22-Dec-08 2:37 
Questionget one row from each group Pin
R111922-Dec-08 1:09
R111922-Dec-08 1:09 
AnswerRe: get one row from each group Pin
Wendelius22-Dec-08 4:49
mentorWendelius22-Dec-08 4:49 
QuestionHow to refer dll from our Application Pin
SelvaSR21-Dec-08 22:49
SelvaSR21-Dec-08 22:49 

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.