Can one read / write a data tabel from / to a file without extra operations.
If so how is it done? If not, what is the alternative?
Many thanks. 3 1853
Where is this data table stored? Excel, SQL Server, MySQL, Oracle, Access,
etc?
There are different answers for each one.
If you have a DataSet object in .NET, that you'd like to write to a file:
that would be called "serialization" and you can get a quick intro on this
tiny article: http://www.ftponline.com/reports/vsl...12_03/nilsson/
Hope this helps,
--- Nick
"Paddy" <no@spam.pls> wrote in message
news:ee***************************@freeler.nl... Can one read / write a data tabel from / to a file without extra
operations. If so how is it done? If not, what is the alternative?
Many thanks.
Thank you. So my understanding is that one has to "serialize" - but to do so
is slow, and it would therefore be better to write one's own class. Right?
Paddy.
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message
news:j5Jyc.89430$Ly.25355@attbi_s01... Where is this data table stored? Excel, SQL Server, MySQL, Oracle,
Access, etc? There are different answers for each one.
If you have a DataSet object in .NET, that you'd like to write to a file: that would be called "serialization" and you can get a quick intro on this tiny article: http://www.ftponline.com/reports/vsl...12_03/nilsson/
Hope this helps, --- Nick
"Paddy" <no@spam.pls> wrote in message news:ee***************************@freeler.nl... Can one read / write a data tabel from / to a file without extra operations. If so how is it done? If not, what is the alternative?
Many thanks.
Hi Paddy,
The article gives advice to not use Datasets over the .NET Remoting because
it usually uses XML serialization to send the data, when binary
serialization is faster. That bit does not apply to your situation.
If you need to read and write objects to a file, easily and reliably, XML
serialization is the way to go.
--- Nick
"Paddy" <no@spam.pls> wrote in message
news:28***************************@freeler.nl... Thank you. So my understanding is that one has to "serialize" - but to do
so is slow, and it would therefore be better to write one's own class. Right? Paddy.
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message news:j5Jyc.89430$Ly.25355@attbi_s01... Where is this data table stored? Excel, SQL Server, MySQL, Oracle, Access, etc? There are different answers for each one.
If you have a DataSet object in .NET, that you'd like to write to a
file: that would be called "serialization" and you can get a quick intro on
this tiny article: http://www.ftponline.com/reports/vsl...12_03/nilsson/
Hope this helps, --- Nick
"Paddy" <no@spam.pls> wrote in message news:ee***************************@freeler.nl... Can one read / write a data tabel from / to a file without extra operations. If so how is it done? If not, what is the alternative?
Many thanks.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: mjpiedade |
last post by:
I just started with C#.
How do I navigate on a dataset by changing the value of a textbox or other
simple bound controls? Imagine that I have the customer name on a textbox
and have a datagrid...
|
by: Stefan Turalski \(stic\) |
last post by:
Hi,
I'm wondering if there is a way to send a method parametrs by ref when
DataTabel is a type of this value ?
I done some sort of select over DataTable columns, just by removing them
froma...
|
by: perspolis |
last post by:
I have 3 columns in my datatabel name Total,unit,Price.
I use a column expression in my project..and in this
expression i multiplied two column...
for example ...
|
by: Jensen bredal |
last post by:
I have a DataTabel object filled with table data from a database.
The table contains rows that have the same data in a particular column.
How can i make a new copy of the datatable removing...
|
by: Mohammad Ali via DotNetMonster.com |
last post by:
hi guys, I have a problem with my datagrid. My form is set up so I have two
textboxes an add button and an editable
datagrid. The datagrid is bound to a datatable which is in my cache.When I...
|
by: Fabio |
last post by:
What is faster to use in a DataGrid???
DataView, Dataset or DataTable
Thanks in advance,
Fabio Augusto
|
by: Martin Williams |
last post by:
How can you get the child records of a master record and then further filter
the returned array down to more specific records? For instance, I search
the array containing the child records for...
|
by: coleenholley |
last post by:
Ok, after all the research on datagrids, I've found that they won't really work for what I'm trying to do...I have a table that I need to have three columns as static data (but each row has a...
|
by: Mariusf |
last post by:
I am a novice Perl programmer and need to change a perl script that I use to create web pages with thumbnail images and some text. Currently the script created a web page for each artist / category...
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
| |