473,394 Members | 1,696 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

DataRow Copy

If I have a DataTabl
(ID Field is autoincrement)
Field A Field B Field C Field D Field E Field F Field G I
Hello KKK 12 BBB POP 10 AK12
Bye SKK 15 SDB OKU 13 AK17
YYY USK 17 KJ SDD 14 AM11

I want to duplicate one ro

Field A Field B Field C Field D Field E Field F Field G I
Hello KKK 12 BBB POP 10 AK12
Bye SKK 15 SDB OKU 13 AK17
YYY USK 17 KJ SDD 14 AM11
YYY USK 17 KJ SDD 14 AM11

If I use add newrow method, I need to assgin the value
of newrow myself, it is very troublesome for a table with many field

any idea? Thank Yo

Nov 18 '05 #1
0 934

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Supa Hoopsa | last post by:
I am sure this must be REALLY simple, but I've spent the last 2 hours trying to failing to figure out how to copy a datarow from an existing table to a new table WITHOUT getting the following...
2
by: Jean | last post by:
Hello Guys, I need to set a default value in the first column of my dataTable. I tried to do it: foreach (DataRow rowExp in tblExport.Rows) { rowExp.ItemArray.SetValue("false", 0); }
6
by: MrNobody | last post by:
When I initialize my program I need to load from several sources of data from files which are in a table form- in each set of data they share fields (like say name address phone). I used to load...
3
by: ypul | last post by:
can anyone tell me please .. how to copy one datarow from one datatable to another.. I want to extract some specific rows from one datatable and put into antoher .... "...
0
by: Bennett Haselton | last post by:
If I have just filled a DataTable in a typed DataSet with a single row, is there a way I can make a copy of that row, so that I can clear the DataTable in that DataSet and use it for another query,...
3
by: Shawn | last post by:
Hi. I have 2 DataTables, dataTable1 and dataTable2. dataTable1 contains a DataRow that I need to insert at index 5 in dataTable2. Here is my code: For Each dataRow1 In dataTable1.Rows If...
6
by: JIM.H. | last post by:
Hello I have; DataRow dr= dataSet11.myTable.NewRow(); And I am filling the fields of this datarow. Now I need to create a copy of this row as drCopy and change a few fields and add both to...
0
by: Meelis Lilbok | last post by:
Hi Ho to create 1:1 copy of DatRow inside DataSet? Is there any Copy method or must create new DataRow and then loop trough items and create copy of fields, because i cant copy 1:1 identity...
1
by: Ryan Liu | last post by:
Hi, When my code run to DataRow.Delete() It throws: System.ArgumentOutOfRangeException: Non-negative number required. Parameter name: length at System.Array.Copy(Array sourceArray, Int32...
1
by: SunshineInTheRain | last post by:
Dim dtUn As DataTable dtUn= New DataTable dtUn = BindICUN() Dim i As Integer Dim irow As DataRow Dim mailBody As String = "" Dim myRow As...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.