Click here to Skip to main content
15,908,909 members
Home / Discussions / C#
   

C#

 
AnswerRe: Adding a row from one table to another Pin
mikone30-Aug-06 4:37
mikone30-Aug-06 4:37 
The first one doesn't work because a DataRow may only belong to ONE and only one DataTable.

The second one works because an ArrayList is not a DataTable hence nobody cares about it.

It would make a lot of sense to copy the row from one table to another but what would happen if you change the values of the row in table A. the values would also be changed in table B because they're sharing a row. Maybe you want it to act like this but i wouldn't recommend trying it like this.

Instead you should do it as you've already mentioned and copy the important data from the row of table A to a NEW row of table B.

Good luck,
mik



QuestionProblem with timer event fireing Pin
Tom Wright30-Aug-06 4:01
Tom Wright30-Aug-06 4:01 
AnswerRe: Problem with timer event fireing Pin
mikone30-Aug-06 4:18
mikone30-Aug-06 4:18 
GeneralRe: Problem with timer event fireing Pin
Tom Wright30-Aug-06 4:24
Tom Wright30-Aug-06 4:24 
GeneralRe: Problem with timer event fireing Pin
Tom Wright30-Aug-06 4:26
Tom Wright30-Aug-06 4:26 
GeneralRe: Problem with timer event fireing Pin
mikone30-Aug-06 4:42
mikone30-Aug-06 4:42 
AnswerRe: Problem with timer event fireing Pin
sjembek30-Aug-06 5:06
sjembek30-Aug-06 5:06 
GeneralRe: Problem with timer event fireing Pin
Tom Wright30-Aug-06 5:20
Tom Wright30-Aug-06 5:20 
GeneralRe: Problem with timer event fireing Pin
sjembek30-Aug-06 5:49
sjembek30-Aug-06 5:49 
QuestionExtended characters and console redirection Pin
gewe30-Aug-06 3:57
gewe30-Aug-06 3:57 
AnswerRe: Extended characters and console redirection Pin
Dave Kreskowiak30-Aug-06 5:47
mveDave Kreskowiak30-Aug-06 5:47 
GeneralRe: Extended characters and console redirection Pin
gewe30-Aug-06 20:13
gewe30-Aug-06 20:13 
GeneralRe: Extended characters and console redirection Pin
lmoelleb30-Aug-06 22:21
lmoelleb30-Aug-06 22:21 
GeneralRe: Extended characters and console redirection Pin
gewe31-Aug-06 0:58
gewe31-Aug-06 0:58 
GeneralRe: Extended characters and console redirection Pin
Dave Kreskowiak31-Aug-06 3:55
mveDave Kreskowiak31-Aug-06 3:55 
QuestionRounding numbers? Pin
Gavin Roberts30-Aug-06 3:44
Gavin Roberts30-Aug-06 3:44 
AnswerRe: Rounding numbers? Pin
Stefan Troschuetz30-Aug-06 3:54
Stefan Troschuetz30-Aug-06 3:54 
AnswerRe: Rounding numbers? Pin
mikone30-Aug-06 3:57
mikone30-Aug-06 3:57 
Questionconverting Matlab code ito C# Pin
signimage30-Aug-06 3:19
signimage30-Aug-06 3:19 
QuestionTrim a part of string away Pin
Support12330-Aug-06 3:14
Support12330-Aug-06 3:14 
AnswerRe: Trim a part of string away Pin
mikone30-Aug-06 3:20
mikone30-Aug-06 3:20 
GeneralRe: Trim a part of string away Pin
Support12330-Aug-06 3:29
Support12330-Aug-06 3:29 
AnswerRe: Trim a part of string away Pin
Dave Kreskowiak30-Aug-06 5:43
mveDave Kreskowiak30-Aug-06 5:43 
QuestionSerialization of a datatable using FileMode.Append Pin
John Baird30-Aug-06 3:13
John Baird30-Aug-06 3:13 
AnswerRe: Serialization of a datatable using FileMode.Append Pin
Robert Rohde30-Aug-06 5:00
Robert Rohde30-Aug-06 5:00 

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.