Click here to Skip to main content
15,896,456 members
Home / Discussions / C#
   

C#

 
QuestionWhat is the difference between the sorting methods of ArrayList Class? Pin
ting6681-Nov-04 17:17
ting6681-Nov-04 17:17 
AnswerRe: What is the difference between the sorting methods of ArrayList Class? Pin
Salil Khedkar1-Nov-04 18:52
Salil Khedkar1-Nov-04 18:52 
GeneralDataGrid Pin
Luis Alonso Ramos1-Nov-04 12:35
Luis Alonso Ramos1-Nov-04 12:35 
GeneralRe: DataGrid Pin
Heath Stewart1-Nov-04 14:09
protectorHeath Stewart1-Nov-04 14:09 
GeneralRe: DataGrid Pin
Luis Alonso Ramos1-Nov-04 14:43
Luis Alonso Ramos1-Nov-04 14:43 
GeneralRe: DataGrid Pin
Heath Stewart1-Nov-04 14:48
protectorHeath Stewart1-Nov-04 14:48 
GeneralRe: DataGrid Pin
Luis Alonso Ramos1-Nov-04 15:11
Luis Alonso Ramos1-Nov-04 15:11 
GeneralRe: DataGrid Pin
Heath Stewart1-Nov-04 15:31
protectorHeath Stewart1-Nov-04 15:31 
Luis Alonso Ramos wrote:
the record is still somehow in the table with the status set to Deleted (or Detached, would you explain me the difference?).

As I always say, read the documentation: http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDataDataRowStateClassTopic.asp[^]. It's these sort of simple questions ("What does X do?") that are easily answered by the documentation.

If you want to get the changes that have been made to the underlying DataSet, use DataSet.GetChanges (optionally specifying the types of changes you want to get).

Luis Alonso Ramos wrote:
I know. I've learnt a lot about SQL Server and ADO.NET recently, but when I started this project, I hadn't read as many books!

I've read almost no books (and I usually skim the once I do evaluate or read). Reading the documentation is essential. Digging into the implementation (since managed languages compile to Intermediate Language (IL), you can easily read them using ildasm.exe (from the .NET Framework SDK) or .NET Reflector (a decompiler and disassembler). Digging into the DataGrid and its related classes (like how it uses DataGridTableStyles and DataGridColumnStyles can really help understand how it works.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: DataGrid Pin
Luis Alonso Ramos1-Nov-04 15:59
Luis Alonso Ramos1-Nov-04 15:59 
GeneralRe: DataGrid Pin
Heath Stewart2-Nov-04 4:40
protectorHeath Stewart2-Nov-04 4:40 
GeneralRe: DataGrid Pin
Luis Alonso Ramos2-Nov-04 6:14
Luis Alonso Ramos2-Nov-04 6:14 
GeneralRe: DataGrid Pin
Heath Stewart2-Nov-04 6:46
protectorHeath Stewart2-Nov-04 6:46 
GeneralRe: DataGrid Pin
Luis Alonso Ramos2-Nov-04 8:51
Luis Alonso Ramos2-Nov-04 8:51 
GeneralLaunching an event with DateTime Pin
goldoche1-Nov-04 10:18
goldoche1-Nov-04 10:18 
GeneralRe: Launching an event with DateTime Pin
Dave Kreskowiak1-Nov-04 10:26
mveDave Kreskowiak1-Nov-04 10:26 
GeneralRe: Launching an event with DateTime Pin
Heath Stewart1-Nov-04 14:11
protectorHeath Stewart1-Nov-04 14:11 
GeneralRe: Launching an event with DateTime Pin
Dave Kreskowiak2-Nov-04 0:50
mveDave Kreskowiak2-Nov-04 0:50 
GeneralRe: Launching an event with DateTime Pin
goldoche2-Nov-04 1:47
goldoche2-Nov-04 1:47 
GeneralRe: Launching an event with DateTime Pin
goldoche2-Nov-04 1:37
goldoche2-Nov-04 1:37 
GeneralRe: WindowsPrincipal and Active Directory Pin
Heath Stewart1-Nov-04 8:37
protectorHeath Stewart1-Nov-04 8:37 
GeneralEnter or Arrow Key to replace Tab Key Pin
FredSP1-Nov-04 7:22
FredSP1-Nov-04 7:22 
GeneralRe: Enter or Arrow Key to replace Tab Key Pin
Alex Korchemniy1-Nov-04 8:53
Alex Korchemniy1-Nov-04 8:53 
GeneralRe: Enter or Arrow Key to replace Tab Key Pin
Heath Stewart1-Nov-04 9:26
protectorHeath Stewart1-Nov-04 9:26 
GeneralRe: Enter or Arrow Key to replace Tab Key Pin
Alex Korchemniy1-Nov-04 9:31
Alex Korchemniy1-Nov-04 9:31 
Generalabout memory management Pin
momer1-Nov-04 7:04
momer1-Nov-04 7:04 

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.