Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
GeneralRe: RichTextBox - AutoWordSelection??? no effect Pin
Phil C5-May-06 13:07
Phil C5-May-06 13:07 
GeneralRe: RichTextBox - AutoWordSelection??? no effect Pin
leppie5-May-06 21:15
leppie5-May-06 21:15 
GeneralRe: RichTextBox - AutoWordSelection??? no effect Pin
Phil C6-May-06 5:19
Phil C6-May-06 5:19 
QuestionHaw can I use a function in .ascx file in asp 2.0 Pin
BogdanCotoc5-May-06 9:45
BogdanCotoc5-May-06 9:45 
QuestionDataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
Elvia Gonzalez5-May-06 8:17
Elvia Gonzalez5-May-06 8:17 
AnswerRe: DataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
Elvia Gonzalez5-May-06 8:22
Elvia Gonzalez5-May-06 8:22 
AnswerRe: DataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
led mike5-May-06 8:27
led mike5-May-06 8:27 
AnswerRe: DataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
Josh Smith5-May-06 8:39
Josh Smith5-May-06 8:39 
You're trying to solve this problem the wrong way. The Select method of the DataTable returns references to the rows in the table, not clones. When a value in a row is changed via the grid, the corresponding row in the table (and, hence, an element in your originalRows array) will reflect that change.

If all that you need to do is detect if values in the table have been modified, you can loop over every row in the table and check the RowState property.

Josh
GeneralRe: DataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
Elvia Gonzalez5-May-06 8:55
Elvia Gonzalez5-May-06 8:55 
GeneralRe: DataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
Josh Smith5-May-06 9:02
Josh Smith5-May-06 9:02 
GeneralRe: DataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
Elvia Gonzalez5-May-06 9:12
Elvia Gonzalez5-May-06 9:12 
QuestionRefresh in a property grid Pin
gantww5-May-06 7:44
gantww5-May-06 7:44 
AnswerRe: Refresh in a property grid Pin
leppie5-May-06 12:38
leppie5-May-06 12:38 
GeneralRe: Refresh in a property grid Pin
gantww6-May-06 15:13
gantww6-May-06 15:13 
QuestionDoes really nobody has answer for my ask? i think it is really simple Pin
m.rastgar5-May-06 7:12
m.rastgar5-May-06 7:12 
AnswerRe: Does really nobody has answer for my ask? i think it is really simple Pin
gantww5-May-06 7:46
gantww5-May-06 7:46 
GeneralRe: Does really nobody has answer for my ask? i think it is really simple Pin
m.rastgar5-May-06 21:45
m.rastgar5-May-06 21:45 
AnswerRe: Does really nobody has answer for my ask? i think it is really simple Pin
George L. Jackson5-May-06 8:56
George L. Jackson5-May-06 8:56 
QuestionDetermine datatype, column length info using SqlDataAdapter, XmlDataDocument classes in C# Pin
PrashantJ5-May-06 6:24
PrashantJ5-May-06 6:24 
AnswerRe: Determine datatype, column length info using SqlDataAdapter, XmlDataDocument classes in C# Pin
Paul Brower5-May-06 9:29
Paul Brower5-May-06 9:29 
GeneralRe: Determine datatype, column length info using SqlDataAdapter, XmlDataDocument classes in C# Pin
PrashantJ5-May-06 10:16
PrashantJ5-May-06 10:16 
Questionprogramaticaly scrolling a listbox Pin
Dan Neely5-May-06 4:54
Dan Neely5-May-06 4:54 
AnswerRe: programaticaly scrolling a listbox Pin
Josh Smith5-May-06 5:03
Josh Smith5-May-06 5:03 
GeneralRe: programaticaly scrolling a listbox Pin
Dan Neely5-May-06 5:37
Dan Neely5-May-06 5:37 
GeneralRe: programaticaly scrolling a listbox Pin
Josh Smith5-May-06 5:42
Josh Smith5-May-06 5:42 

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.