Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 973441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:16:46+00:00 2026-05-16T03:16:46+00:00

I created a DataGridView and I Configured it! how I can save all what

  • 0

I created a DataGridView and I Configured it!
how I can save all what the user input in XML file (settings.xml)?
so next time the user run the program it will read all the data and view it in the GridDataView

the data will not be that much, it is just some kind of settings!

I found allot of tutorials online, but they either does not work or using DataGrid !!!

Edit:
is this really hard to do!
I notice that people who ask this questions do not get a solution, in spite of the hard work the experts do to explain !!!!!

I want to learn it
any link to a tutorial (That Works)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T03:16:46+00:00Added an answer on May 16, 2026 at 3:16 am

    Easiest way is to connect a DataSet as datasource and then save the dataset to xml and load the xml the next time.

        DataSet ds = new DataSet();
        //save the dataset as xml
        ds.WriteXml("your path to save the xml");
    
        //read the xml into your dataset
        ds.ReadXml("your path to save the xml");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a program using dev-cpp and wxwidgets which solves a puzzle. The user
I've got a class that represents an XML file to be processed. I've created
I created an Interop user control in VS2005. When the user control is shown
I created the setup project for the application and I can see that the
I'm trying to get my current program to take information from a dynamically created
I've created a DataGridView and added a DataGridViewImageColumn (using the Designer). The DataGridView has
I have created a datagridview with 3 columns as below : SR no tasks
I have created a UserControl in C# that I have put a DataGridView on.
I have dynamically created DataGridView control on form, with DataSource specified as: ((DataGridView)createdControl).DataSource =
I am having a datagridview created as follows on button click private void button1_Click(object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.