Click here to Skip to main content
16,012,316 members
Home / Discussions / Database
   

Database

 
QuestionMultiple Tables/DB's performance Pin
MatthysDT21-Aug-06 20:57
MatthysDT21-Aug-06 20:57 
AnswerRe: Multiple Tables/DB's performance Pin
Mike Dimmick22-Aug-06 2:05
Mike Dimmick22-Aug-06 2:05 
AnswerRe: Multiple Tables/DB's performance Pin
i.j.russell22-Aug-06 2:57
i.j.russell22-Aug-06 2:57 
QuestionTable partitioning in SQL Server 2000 Pin
Uma Kameswari21-Aug-06 18:39
Uma Kameswari21-Aug-06 18:39 
AnswerRe: Table partitioning in SQL Server 2000 Pin
_AK_21-Aug-06 20:03
_AK_21-Aug-06 20:03 
GeneralRe: Table partitioning in SQL Server 2000 Pin
Uma Kameswari21-Aug-06 21:51
Uma Kameswari21-Aug-06 21:51 
GeneralRe: Table partitioning in SQL Server 2000 Pin
Colin Angus Mackay21-Aug-06 22:06
Colin Angus Mackay21-Aug-06 22:06 
QuestionAdding a new row to a DataTable Pin
dptalt21-Aug-06 10:09
dptalt21-Aug-06 10:09 
I would like to take the field values of a row in a DataTable and copy them to a new row in the same DataTable. Below is the code I used to do this.

Dim newrow As DataRow = Me.MyDataSet.MyDataTable.Rows(0)
Me.MyDataSet.MyDataTable.Rows.Add(newrow)

An exception is thrown saying this row already belongs to this table.
How can I accomplish this?
Thanks
AnswerRe: Adding a new row to a DataTable Pin
Stephen McGuire21-Aug-06 11:48
Stephen McGuire21-Aug-06 11:48 
AnswerRe: Adding a new row to a DataTable Pin
Keith Malwitz21-Aug-06 12:10
Keith Malwitz21-Aug-06 12:10 
QuestionRe: Adding a new row to a DataTable Pin
dptalt21-Aug-06 16:26
dptalt21-Aug-06 16:26 
AnswerRe: Adding a new row to a DataTable Pin
Keith Malwitz21-Aug-06 17:34
Keith Malwitz21-Aug-06 17:34 
GeneralRe: Adding a new row to a DataTable Pin
dptalt22-Aug-06 3:37
dptalt22-Aug-06 3:37 
GeneralRe: Adding a new row to a DataTable Pin
Keith Malwitz22-Aug-06 4:53
Keith Malwitz22-Aug-06 4:53 
GeneralRe: Adding a new row to a DataTable Pin
dptalt23-Aug-06 16:52
dptalt23-Aug-06 16:52 
GeneralRe: Adding a new row to a DataTable Pin
Keith Malwitz23-Aug-06 17:33
Keith Malwitz23-Aug-06 17:33 
GeneralRe: Adding a new row to a DataTable Pin
dptalt25-Aug-06 3:11
dptalt25-Aug-06 3:11 
AnswerRe: Adding a new row to a DataTable [modified] Pin
Stephen McGuire22-Aug-06 7:12
Stephen McGuire22-Aug-06 7:12 
GeneralRe: Adding a new row to a DataTable Pin
dptalt22-Aug-06 16:34
dptalt22-Aug-06 16:34 
GeneralRe: Adding a new row to a DataTable Pin
Stephen McGuire23-Aug-06 5:34
Stephen McGuire23-Aug-06 5:34 
GeneralRe: Adding a new row to a DataTable Pin
dptalt23-Aug-06 16:48
dptalt23-Aug-06 16:48 
QuestionAddnew not working inside a Class Library Pin
Charleboy21-Aug-06 5:53
Charleboy21-Aug-06 5:53 
AnswerRe: Addnew not working inside a Class Library Pin
Colin Angus Mackay21-Aug-06 9:01
Colin Angus Mackay21-Aug-06 9:01 
GeneralRe: Addnew not working inside a Class Library Pin
Charleboy21-Aug-06 14:03
Charleboy21-Aug-06 14:03 
GeneralRe: Addnew not working inside a Class Library Pin
Charleboy22-Aug-06 1:40
Charleboy22-Aug-06 1:40 

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.