Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
Generalhelp Me pplease Pin
jphuphilly25-Jul-03 7:36
jphuphilly25-Jul-03 7:36 
GeneralRe: help Me pplease Pin
albean25-Jul-03 8:23
albean25-Jul-03 8:23 
GeneralRe: help Me pplease Pin
jphuphilly25-Jul-03 11:50
jphuphilly25-Jul-03 11:50 
GeneralRe: help Me pplease Pin
albean25-Jul-03 12:18
albean25-Jul-03 12:18 
GeneralRe: help Me pplease Pin
leppie25-Jul-03 12:59
leppie25-Jul-03 12:59 
GeneralRe: help Me pplease Pin
jphuphilly28-Jul-03 8:41
jphuphilly28-Jul-03 8:41 
GeneralRe: help Me pplease Pin
leppie28-Jul-03 10:24
leppie28-Jul-03 10:24 
GeneralDataRowCollection.InsertAt method is driving me nuts Pin
Radoslav Bielik25-Jul-03 7:04
Radoslav Bielik25-Jul-03 7:04 
What I am trying to do is to insert a new DataRow at a specific location in the DataRowCollection. I know that the order of items may not be preserved when using Select or GetChildRows method, but according to the DataRowCollection.InsertAt documentation, this order IS preserved when writing the data as XML (using the DataSet.WriteXml method). But it is not Mad | :mad: Imagine the following scenario:

1. The DataSet is populated using the ReadXml method

2. A newly created row is inserted at the beginning of the DataRowCollection using the dt.Rows.InsertAt(dr, 0);

3. The DataTable dt is data bound to a DataGrid control, without any sorting, (the newly inserted row is indeed displayed as the first record).

4. The whole dataset is written to an XML file, using the DataSet's WriteXml method. And, surprise, the newly created row is at the END of the table Dead | X|

What am I doing wrong? Anyone ever experienced this? Any clues or ideas are highly appreciated.

Rado
GeneralRe: Interop Pin
Daniel Turini25-Jul-03 7:50
Daniel Turini25-Jul-03 7:50 
GeneralRe: Interop Pin
leppie25-Jul-03 8:05
leppie25-Jul-03 8:05 
GeneralRe: Interop Pin
leppie25-Jul-03 10:43
leppie25-Jul-03 10:43 
GeneralRe: Interop Pin
J. Dunlap25-Jul-03 11:06
J. Dunlap25-Jul-03 11:06 
GeneralRe: Interop Pin
Daniel Turini25-Jul-03 11:21
Daniel Turini25-Jul-03 11:21 
QuestionHow do i check if the Left Shift key was pressed? Pin
CyberKewl25-Jul-03 2:09
CyberKewl25-Jul-03 2:09 
AnswerRe: How do i check if the Left Shift key was pressed? Pin
dynamic25-Jul-03 3:19
dynamic25-Jul-03 3:19 
Generalchecking time values Pin
draco_iii25-Jul-03 1:17
draco_iii25-Jul-03 1:17 
GeneralRe: checking time values Pin
Rocky Moore25-Jul-03 1:59
Rocky Moore25-Jul-03 1:59 
GeneralHash Table elements order Pin
michalJ25-Jul-03 0:23
michalJ25-Jul-03 0:23 
GeneralRe: Hash Table elements order Pin
Erick Sgarbi25-Jul-03 0:27
Erick Sgarbi25-Jul-03 0:27 
GeneralRe: Hash Table elements order Pin
Rocky Moore25-Jul-03 2:04
Rocky Moore25-Jul-03 2:04 
GeneralRe: Hash Table elements order Pin
Julian Bucknall [MSFT]25-Jul-03 8:30
Julian Bucknall [MSFT]25-Jul-03 8:30 
GeneralGetProcesses Pin
vikramlinux24-Jul-03 20:14
vikramlinux24-Jul-03 20:14 
GeneralRe: GetProcesses Pin
Alex Korchemniy25-Jul-03 9:18
Alex Korchemniy25-Jul-03 9:18 
GeneralRe: GetProcesses Pin
vikramlinux25-Jul-03 19:19
vikramlinux25-Jul-03 19:19 
GeneralWriting to a List box in a dirrerent form... Pin
eggie524-Jul-03 12:26
eggie524-Jul-03 12:26 

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.