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

  • SEARCH
  • Home
  • 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 8172431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:47:02+00:00 2026-06-06T21:47:02+00:00

I have a Silverlight (4.0) app (C#) with its own DB, SQL-Server 2008. I

  • 0

I have a Silverlight (4.0) app (C#) with its own DB, SQL-Server 2008.

I need to connect to another DB instance on a different server. I need to execute only a SELECT query on that server to fetch some data to my application, clean it and put it in my DB.

I have the connection string for that DB and I’m planing to save it in the web.Config file of the application.

Is it possible to connect to that server and also keep the connection to my DB instance open at the same time?

Is this even possible? What should i be careful about when i do this? How should i manage 2 connections without loosing the data?

  • 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-06T21:47:04+00:00Added an answer on June 6, 2026 at 9:47 pm

    Your connections will be closed by default when using ADO.NET. Get the data from the second server with a new connection and store it in a dataset or datatable. Then, traverse the dataset/datatable and place that data into your database using your other connection. Just be sure to close your connections and you should be good to go. The only thing to watch out with this very simple model is if your datatable or dataset is very large, it will consume a bit of memory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an asp.net web app which holds its data in an sql server
I have 2 touch enabled Canvas' in a Silverlight App. What I need to
I have a WPF app. I need to embed a Silverlight app inside it.
I have a Silverlight App which gets its data from a database. My Silverlight
I have a Silverlight app with a DataGrid containing some custom columns and all
I have a silverlight app that will be installed OOB with full trust and
I have a Silverlight app that has to load an image dynamically, depending on
I have a small Silverlight app which downloads all of the images and text
I have a simple Silverlight app which simply sets a DataGrid's ItemsSource to the
I have a Silverlight web app which uses ASP.net Website administration tool for user

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.