Hi,
I have a dataset containing one table with plenty of rows (>5000).
I need to convert these to fit into another set of rows in the quickest
possible way.
I know what fields I will be getting in, and what fields need to be
converted to make the output dataset, but am tryingto find the quickest way
of doing this.
I am toying with the idea of my own DataAdapter, with the Fill method doing
the transform. The only way I can think of doing this is to loop through all
rows doing the conversion on each row and passing that as a new row to my
new dataset.
There has got to be a better way! Surely??
Steve 4 1637
If the data is the same, just fewer/different rows, why not just create
another adapter and fill your second dataset wtih da2.Fill
"SPG" <st*******************@nopoo.blueyonder.co.uk> wrote in message
news:oC*********************@news-text.cableinet.net... Hi,
I have a dataset containing one table with plenty of rows (>5000). I need to convert these to fit into another set of rows in the quickest possible way.
I know what fields I will be getting in, and what fields need to be converted to make the output dataset, but am tryingto find the quickest
way of doing this.
I am toying with the idea of my own DataAdapter, with the Fill method
doing the transform. The only way I can think of doing this is to loop through
all rows doing the conversion on each row and passing that as a new row to my new dataset.
There has got to be a better way! Surely??
Steve
If the data is the same, just fewer/different rows, why not just create
another adapter and fill your second dataset wtih da2.Fill
"SPG" <st*******************@nopoo.blueyonder.co.uk> wrote in message
news:oC*********************@news-text.cableinet.net... Hi,
I have a dataset containing one table with plenty of rows (>5000). I need to convert these to fit into another set of rows in the quickest possible way.
I know what fields I will be getting in, and what fields need to be converted to make the output dataset, but am tryingto find the quickest
way of doing this.
I am toying with the idea of my own DataAdapter, with the Fill method
doing the transform. The only way I can think of doing this is to loop through
all rows doing the conversion on each row and passing that as a new row to my new dataset.
There has got to be a better way! Surely??
Steve
William,
I have already made my own dataadapter to do this.
On myAdap.Fill(ds) I simply whizz through all the rows in the origianl
dataset, and make a transformation (IE: some fields are concatenated etc)..
If this is the best way to do this, I am doing it already.. Just a bit slow
when traversing 5000+ rows..
Steve
"William Ryan eMVP" <do********@comcast.nospam.net> wrote in message
news:OH**************@TK2MSFTNGP10.phx.gbl... If the data is the same, just fewer/different rows, why not just create another adapter and fill your second dataset wtih da2.Fill "SPG" <st*******************@nopoo.blueyonder.co.uk> wrote in message news:oC*********************@news-text.cableinet.net... Hi,
I have a dataset containing one table with plenty of rows (>5000). I need to convert these to fit into another set of rows in the quickest possible way.
I know what fields I will be getting in, and what fields need to be converted to make the output dataset, but am tryingto find the quickest way of doing this.
I am toying with the idea of my own DataAdapter, with the Fill method doing the transform. The only way I can think of doing this is to loop through all rows doing the conversion on each row and passing that as a new row to
my new dataset.
There has got to be a better way! Surely??
Steve
William,
I have already made my own dataadapter to do this.
On myAdap.Fill(ds) I simply whizz through all the rows in the origianl
dataset, and make a transformation (IE: some fields are concatenated etc)..
If this is the best way to do this, I am doing it already.. Just a bit slow
when traversing 5000+ rows..
Steve
"William Ryan eMVP" <do********@comcast.nospam.net> wrote in message
news:OH**************@TK2MSFTNGP10.phx.gbl... If the data is the same, just fewer/different rows, why not just create another adapter and fill your second dataset wtih da2.Fill "SPG" <st*******************@nopoo.blueyonder.co.uk> wrote in message news:oC*********************@news-text.cableinet.net... Hi,
I have a dataset containing one table with plenty of rows (>5000). I need to convert these to fit into another set of rows in the quickest possible way.
I know what fields I will be getting in, and what fields need to be converted to make the output dataset, but am tryingto find the quickest way of doing this.
I am toying with the idea of my own DataAdapter, with the Fill method doing the transform. The only way I can think of doing this is to loop through all rows doing the conversion on each row and passing that as a new row to
my new dataset.
There has got to be a better way! Surely??
Steve
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mirjana Rakuljic |
last post by:
Hi,
I need help with transforming XML document.
I generate xml document from query using Oracle XSU (DBMS_XMLQUERY)
and the document I get is like this:
<?xml version = '1.0' encoding =...
|
by: Satish Ri |
last post by:
I tried ou
http://support.microsoft.com/default.aspx?scid=kb;en-us;319180&Product=as
I am using framework 1.1 but it was showing error for the following line in SendResults functio...
|
by: Showjumper |
last post by:
I am using the NITF DTD for my xml files and i need to use 2 xsl files to do
the transform: one for the <body.head> and the second for the
<body.content>. I've got this so far for transforming...
|
by: Matthew Baskey |
last post by:
Hello,
I need to reorder a Typed DataSet in memory using an Xsl Transform.
Most of the examples use stream which write to the hard disk or xml
file. I want to do this in memory and then write...
|
by: SPG |
last post by:
Hi,
I have a dataset containing one table with plenty of rows (>5000).
I need to convert these to fit into another set of rows in the quickest
possible way.
I know what fields I will be...
|
by: JJ |
last post by:
Hi,
I need to pass a dataset to another win form along with a SqldataAdapter.
I don't want to recreate the SqlDataAdapter again either. So to pass to
another Win form in my windows form app, do...
|
by: SPG |
last post by:
Hi,
I have a dataset containing one table with plenty of rows (>5000).
I need to convert these to fit into another set of rows in the quickest
possible way.
I know what fields I will be...
|
by: Gustaf |
last post by:
I'd like to see if someone found a natural explanation to this. I have
this method for transforming docs:
/**
* Transforms an XmlDocument object with an XSL file, and returns
* another...
|
by: mannem |
last post by:
I have a problem in accessing the values while transforming an XML using XSLT
BODY { FONT: x-small 'Verdana'; MARGIN-RIGHT: 1.5em } .c { CURSOR: hand } .b { FONT-WEIGHT: bold; COLOR: red;...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |