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

Database

 
GeneralRe: Merge cells in query result Pin
dan!sh 10-Dec-08 21:00
professional dan!sh 10-Dec-08 21:00 
GeneralRe: Merge cells in query result Pin
Mycroft Holmes10-Dec-08 21:44
professionalMycroft Holmes10-Dec-08 21:44 
QuestionMirror changed DataTable to old DataTable (ADO.NET) Pin
David Hovey10-Dec-08 10:22
David Hovey10-Dec-08 10:22 
AnswerRe: Mirror changed DataTable to old DataTable (ADO.NET) Pin
Wendelius10-Dec-08 10:39
mentorWendelius10-Dec-08 10:39 
GeneralRe: Mirror changed DataTable to old DataTable (ADO.NET) Pin
David Hovey10-Dec-08 11:15
David Hovey10-Dec-08 11:15 
GeneralRe: Mirror changed DataTable to old DataTable (ADO.NET) Pin
Wendelius10-Dec-08 11:25
mentorWendelius10-Dec-08 11:25 
GeneralRe: Mirror changed DataTable to old DataTable (ADO.NET) Pin
David Hovey10-Dec-08 11:31
David Hovey10-Dec-08 11:31 
GeneralRe: Mirror changed DataTable to old DataTable (ADO.NET) Pin
Wendelius10-Dec-08 11:45
mentorWendelius10-Dec-08 11:45 
Okay, some guesses:
Have you noticed this on documentation:
When using subsequent Fill calls to refresh the contents of the DataSet, two conditions must be met:
1. The SQL statement should match the one initially used to populate the DataSet.
2. The Key column information must be present. If primary key information is present, any duplicate rows are reconciled and only appear once in the DataTable that corresponds to the DataSet. Primary key information may be set either through FillSchema, by specifying the PrimaryKey property of the DataTable, or by setting the MissingSchemaAction property to AddWithKey.


Also I'm not sure what's the status of each row after refresh so after refilling the dataset you could have a look with the debugger and if the states are modified, accept changes after fill (on the whole dataset). Somehow the behaviour sounds like the changes might have been rejected somewhere in the other parts of the code.

The need to optimize rises from a bad design.My articles[^]

GeneralRe: Mirror changed DataTable to old DataTable (ADO.NET) Pin
David Hovey10-Dec-08 18:28
David Hovey10-Dec-08 18:28 
GeneralRe: Mirror changed DataTable to old DataTable (ADO.NET) Pin
Wendelius11-Dec-08 4:23
mentorWendelius11-Dec-08 4:23 
QuestionSQL case function to check for charindex as '' or ',' Pin
Trustapple10-Dec-08 8:17
Trustapple10-Dec-08 8:17 
AnswerRe: SQL case function to check for charindex as '' or ',' Pin
Wendelius10-Dec-08 8:29
mentorWendelius10-Dec-08 8:29 
GeneralRe: SQL case function to check for charindex as '' or ',' Pin
Trustapple10-Dec-08 8:48
Trustapple10-Dec-08 8:48 
GeneralRe: SQL case function to check for charindex as '' or ',' [modified] Pin
Wendelius10-Dec-08 8:58
mentorWendelius10-Dec-08 8:58 
GeneralRe: SQL case function to check for charindex as '' or ',' Pin
Trustapple10-Dec-08 9:35
Trustapple10-Dec-08 9:35 
GeneralRe: SQL case function to check for charindex as '' or ',' Pin
Wendelius10-Dec-08 9:41
mentorWendelius10-Dec-08 9:41 
GeneralRe: SQL case function to check for charindex as '' or ',' Pin
Trustapple10-Dec-08 18:58
Trustapple10-Dec-08 18:58 
GeneralRe: SQL case function to check for charindex as '' or ',' Pin
Trustapple10-Dec-08 19:00
Trustapple10-Dec-08 19:00 
GeneralRe: SQL case function to check for charindex as '' or ',' Pin
Ben Fair10-Dec-08 9:40
Ben Fair10-Dec-08 9:40 
GeneralRe: SQL case function to check for charindex as '' or ',' Pin
Wendelius10-Dec-08 9:52
mentorWendelius10-Dec-08 9:52 
GeneralRe: SQL case function to check for charindex as '' or ',' Pin
Ben Fair10-Dec-08 10:06
Ben Fair10-Dec-08 10:06 
GeneralRe: SQL case function to check for charindex as '' or ',' [modified] Pin
Trustapple10-Dec-08 19:02
Trustapple10-Dec-08 19:02 
GeneralRe: SQL case function to check for charindex as '' or ',' Pin
Wendelius11-Dec-08 4:07
mentorWendelius11-Dec-08 4:07 
GeneralRe: SQL case function to check for charindex as '' or ',' Pin
Trustapple11-Dec-08 18:03
Trustapple11-Dec-08 18:03 
GeneralRe: SQL case function to check for charindex as '' or ',' Pin
Wendelius12-Dec-08 4:19
mentorWendelius12-Dec-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.