Click here to Skip to main content
15,921,452 members
Home / Discussions / Database
   

Database

 
GeneralRe: DAO query by array long[] numbers Pin
Steve S10-Feb-04 6:18
Steve S10-Feb-04 6:18 
QuestionMultiple Header DataGrid....anyone?? Pin
srt76-Feb-04 9:49
srt76-Feb-04 9:49 
AnswerRe: Multiple Header DataGrid....anyone?? Pin
-Dr_X-7-Feb-04 21:05
-Dr_X-7-Feb-04 21:05 
AnswerRe: Multiple Header DataGrid....anyone?? Pin
Marcie Jones10-Feb-04 6:46
Marcie Jones10-Feb-04 6:46 
GeneralSQL Server problem Pin
srt76-Feb-04 9:47
srt76-Feb-04 9:47 
GeneralRe: SQL Server problem Pin
Hesham Amin8-Feb-04 8:40
Hesham Amin8-Feb-04 8:40 
GeneralAdapter Update function not working for me. Pin
Michael A. Barnhart6-Feb-04 4:31
Michael A. Barnhart6-Feb-04 4:31 
GeneralRe: Adapter Update function not working for me. Pin
Michael A. Barnhart6-Feb-04 13:24
Michael A. Barnhart6-Feb-04 13:24 
private void CommitButton_Click(object sender, System.EventArgs e)
{
string myerrormes;
DataSet cdataSet=null;
int cnt=0;
try
{
cdataSet = m_dataSet.GetChanges();
cdataSet.WriteXml("C:\\gridC.xml");
m_dataSet.WriteXml("C:\\gridM.xml");
m_dataSet.AcceptChanges();
cnt = m_dataAdapter.Update(m_dataSet,m_tbname);
}
catch (Exception ex)
{
myerrormes = ex.ToString();
}
}

Well not the progress I had hoped for. When I write out the changed and complete data sets to an XML file they do have the correct updates. So I am missing something with the AcceptChanges and Update methods. The database does not get the updates. I have the same effect with Oracle, SQL Server and Jet.
GeneralRe: Adapter Update function not working for me. Pin
Bill Dean6-Feb-04 17:11
Bill Dean6-Feb-04 17:11 
GeneralRe: Adapter Update function not working for me. Pin
Michael A. Barnhart7-Feb-04 15:25
Michael A. Barnhart7-Feb-04 15:25 
GeneralRe: Adapter Update function not working for me. Pin
Bill Dean7-Feb-04 16:28
Bill Dean7-Feb-04 16:28 
GeneralRe: Adapter Update function not working for me. Pin
Michael A. Barnhart8-Feb-04 9:17
Michael A. Barnhart8-Feb-04 9:17 
GeneralRe: Adapter Update function not working for me. Pin
Gigiwig13-Feb-04 23:52
Gigiwig13-Feb-04 23:52 
GeneralRe: Adapter Update function not working for me. Pin
Gigiwig14-Feb-04 0:02
Gigiwig14-Feb-04 0:02 
GeneralA quick question on table variables Pin
PrashantJ6-Feb-04 0:11
PrashantJ6-Feb-04 0:11 
GeneralRe: A quick question on table variables Pin
Mike Dimmick6-Feb-04 5:08
Mike Dimmick6-Feb-04 5:08 
GeneralProblem with VB6 and SQL Server 2000 Pin
gamerPotatoe5-Feb-04 22:40
gamerPotatoe5-Feb-04 22:40 
GeneralRe: Problem with VB6 and SQL Server 2000 Pin
Mazdak5-Feb-04 23:04
Mazdak5-Feb-04 23:04 
GeneralRe: Problem with VB6 and SQL Server 2000 Pin
Mike Dimmick5-Feb-04 23:06
Mike Dimmick5-Feb-04 23:06 
GeneralQuery Pin
girl_lash5-Feb-04 15:13
girl_lash5-Feb-04 15:13 
GeneralRe: Query Pin
Steve S10-Feb-04 6:21
Steve S10-Feb-04 6:21 
Generalsimple INSERT question Pin
hkl5-Feb-04 9:12
hkl5-Feb-04 9:12 
GeneralRe: simple INSERT question Pin
Edbert P5-Feb-04 19:07
Edbert P5-Feb-04 19:07 
GeneralConfigure SMTP Pin
DaKhucBuon4-Feb-04 23:08
DaKhucBuon4-Feb-04 23:08 
GeneralRe: Configure SMTP Pin
Vasudevan Deepak Kumar5-Feb-04 0:37
Vasudevan Deepak Kumar5-Feb-04 0:37 

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.