Hi,
I'm using a SQL 2000 DataBase in my program, and in some cases i need to
bring some information from my dataBase and write it in specific way to a
file. i know how to write to a file, but i wonder which way is the best to do
it? i need to edit the information before i write it to the file, so i guess
i have to store it somewhere, the question is if i'll use a dataSet could i
get to the information directly or should i enter it to a temp DataTable or
DataGrid, or maybe there is another way....
Thanks,
Gidi. 2 1098
Hi Gidi,
Do you need to edit the data via code or via a UI?
Christiaan
"Gidi" <sh*****@hotmail.com.dontspam> schreef in bericht
news:E3**********************************@microsof t.com... Hi,
I'm using a SQL 2000 DataBase in my program, and in some cases i need to bring some information from my dataBase and write it in specific way to a file. i know how to write to a file, but i wonder which way is the best to do it? i need to edit the information before i write it to the file, so i guess i have to store it somewhere, the question is if i'll use a dataSet could i get to the information directly or should i enter it to a temp DataTable or DataGrid, or maybe there is another way....
Thanks, Gidi.
Gidi,
Al you need is
ds.WriteXml(path);
and if you need the schema when readed back (this cost more bytes)
ds.WriteXml(path,XmlWriteMode.WriteSchema);
I hope this helps,
Cor
"Gidi" <sh*****@hotmail.com.dontspam> schreef in bericht
news:E3**********************************@microsof t.com... Hi,
I'm using a SQL 2000 DataBase in my program, and in some cases i need to bring some information from my dataBase and write it in specific way to a file. i know how to write to a file, but i wonder which way is the best to do it? i need to edit the information before i write it to the file, so i guess i have to store it somewhere, the question is if i'll use a dataSet could i get to the information directly or should i enter it to a temp DataTable or DataGrid, or maybe there is another way....
Thanks, Gidi.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Joseph |
last post by:
Hi
I'm writing a commercial program which must be reliable. It has to do
some basic reading and writing to and from files on the hard disk,
and also to a floppy.
I have foreseen a potential...
|
by: George Stout |
last post by:
First off I do not know alot about writing queries to an Access
Database from an ASP page. This is why I need help.
I have an Events database for 6 colleges in our metro area. On the
homepage I...
|
by: JC |
last post by:
I am using Mysql version: 4.0.18-max-log
and trying to populate a database from a text file using source option from
inside the mysql environment.
The population run OK but when creating the...
|
by: Chris Springer |
last post by:
I'd like to get some feedback on the issue of storing data out to disk and
where to store it. I've never been in a production environment in
programming so you'll have to bear with me...
My...
|
by: John Pote |
last post by:
Hello, help/advice appreciated.
Background:
I am writing some web scripts in python to receive small amounts of data
from remote sensors and store the data in a file. 50 to 100 bytes every 5 or...
|
by: darrel |
last post by:
Our production web site went down today. We discovered that it was because
the XML file we use to create the site navigation (most all of the controls
on every page rely on this XML file) was only...
|
by: UJ |
last post by:
I have a system that has five programs that all communicate with each other
via Message Queues. Works well. One program is a watchdog that will make
sure the others are up and going. Currently I...
|
by: Claudio Grondi |
last post by:
I have a 250 Gbyte file (occupies the whole hard drive space) and want
to change only eight bytes in this file at a given offset of appr. 200
Gbyte (all other data in that file should remain...
|
by: jackpod |
last post by:
Hi,
I have been trying to write an image to a database table BLOB field in
MySQL but when I try to retrieve the image to display it, it shows as
being empty. Are there any special considerations I...
|
by: ConfusedAlot |
last post by:
I am having difficulty defining the function prototypes and corresponding parameters when the function is called from main. Any help is greatly appreciated.
//The database
struct OpAmps {
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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: 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...
|
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: 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: 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...
| |