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 9152769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:08:09+00:00 2026-06-17T12:08:09+00:00

I have a requirement to Save a datasource from a database query to memory

  • 0

I have a requirement to

  1. Save a datasource from a database query to memory so i can loop
    through and update some of the items in memory.
  2. I also need to be able to save the items in memory (from the result of item 1 above)
    to an xml file on the hard drive.
  3. Finally i need to be able to load the xml file into memory.

Could anyone point me the easiest method of doing this. This is all done in a windows service.

FAItemsUnderControl fItemsUnderControl = new FAItemsUnderControl(ConfigurationManager.AppSettings["DatabaseConnectionString"]);

//Note the line below is for binding to a gridview which is incorrect in my requirement but illustrates the idea

GridViewItemsUnderControlReport.DataSource = fItemsUnderControl.getItemsUnderControl("systemidtbd", "ALL");
  • 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-06-17T12:08:10+00:00Added an answer on June 17, 2026 at 12:08 pm

    i had to declare the same list of objects on my service side

    // Get items to Control into running memory
                    FAItemsUnderControl fItemsUnderControl = new FAItemsUnderControl(ConfigurationManager.AppSettings["DatabaseConnectionString"]);
                    MyGlobals.ListOfItemsToControl = fItemsUnderControl.getItemsUnderControl(MyGlobals.System_ID, "ALL").ToList<Usp_GetListItemsBySystemResult>();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this requirement that i need to Update/Save all records from DatabaseA on
I have a requirement in which the user can select an image from camera
I have requirement where as an attachment user can add a link from sharepoint
We have the requirement to take a form submission and save some data, then
I have requirement where some times I would like to load children as well
I have requirement to get Facebook friends list with their images. How can I
In our project we have requirement that, after receiving sms message from third party
We have a requirement that a user can load any standard image into a
I have a requirement to save the last screen viewed while closing the app
I have the following requirement. 1. save a user password converted to hash(digested) 2.

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.