473,385 Members | 1,867 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,385 software developers and data experts.

save dataset

hello
i am a new programmer and i need to save a dataset in C# for future use or for better backup
it's mean when i have a data set of tabels i need to save it anywhere ,if i lost my data i can reuse this data set .


10x for helping me
Sep 12 '07 #1
6 1146
gpraghuram
1,275 Expert 1GB
This shuld be moved to .net forum.

Raghuram
Sep 12 '07 #2
save dataset
--------------------------------------------------------------------------------

hello
i am a new programmer and i need to save a dataset in C# for future use or for better backup
it's mean when i have a data set of tabels i need to save it anywhere ,if i lost my data i can reuse this data set .


10x for helping me
Sep 12 '07 #3
kenobewan
4,871 Expert 4TB
I notice that you posted this question in the c\c++ forum. Please read the FAQs to find out why this against site rules. Thanks.

If this is your sole reason for storing the dataset, then this represents poor data management.
Sep 12 '07 #4
It's Ok

But If U Can Give Me Better Solution

In My Application I Use Bulk Insert And Bcp To Read An Write From And To Db

But The Problem Is I Have A Lot Of Files And I Work A Mobile Application So It Cause Lost Of Time

So I Think It's The Better Ideas To Save Our Dataset Befor Creating Our File
If Any Prob Occures I Have A Backup And I Can Use It

Please I Am Wating Ur Ideas


10x
Sep 12 '07 #5
kenobewan
4,871 Expert 4TB
If you are not confident your db will suffice, then how about a datatable - less overhead. HTH.
Sep 13 '07 #6
If you are not confident your db will suffice, then how about a datatable - less overhead. HTH.

i found the solution ,all what i need is to use dataset.writeXML to save my data on file.xml

so 10x for ur help


byzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Sep 14 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Jaime | last post by:
I have to save a dataset to xml and for efficiency I like to get rid of the namespace prefix d2p1: can any one help thanks jaime
2
by: deko | last post by:
I create an XmlDataDocument Dataset when the main form of my WinForms app opens. The user will make changes to the Dataset, and then those changes should be saved to the XML file when the code...
2
by: Alpha | last post by:
Hi, I have a window based program. One of the form has several textboxes and a datagrid. The textboxes are bind to the same dataset table as the datagrid and the text changes to reflect different...
4
by: Jae | last post by:
I'm writing a web application that exports and imports excel files. The application gets a list of users and their info and displays it in a datagrid .The user then selects to save the file as a...
1
by: Asha | last post by:
greetings, i've manually created a dataset which contains data input from users. i validate the dataset against the business logic and once everything is done, i would like to save the values in...
2
by: DraguVaso | last post by:
Hi, I found some examples for storing the FormSettings of a Form in an XML-file, but none of these could match my criteria: What I am looking for is the possibility to save the FormSettings of...
10
by: Henok Girma | last post by:
Hello Gurus, I want to save the state of an unbound DataGridView on my Windows Form application to an XML file so i can later load it back.. Basically, on my form I have a DataGridView, it's got...
6
by: alexia.bee | last post by:
Hi all, I am new to C# so please bear me :). I have an app which uses datagridview. it has 8 columns. I also have struct which has 8 members(the same as the datagridview). when I add row to...
0
by: Rob | last post by:
I have a Webservice written in C# that provides data to both a web browser through ASP.net and to a VC++ client. I have been able to retrieve data from SQLServer and passing to my C++ client as...
5
by: countnazgul | last post by:
Hello, I've got very odd problem. I use windows application to store files in data base (MySql) and then to extract this files from data base and save it on hdd. But when i save them back to hdd...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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 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.