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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:08:02+00:00 2026-06-08T22:08:02+00:00

I’m doing a C# course this summer and in the current task I’m going

  • 0

I’m doing a C# course this summer and in the current task I’m going to work with a database. Very interesting and I’m eager to get working, but I’m totally lost right now(perhaps my blood suger is low)! According to the demands of the task, I must use a disconnected approach using DataSets or dataTables, DataAdapters and CommandBuilders to load the a copy of the database into memory to work with it(open, read and close) and then when I want to update the database, do the opposite(open, save and close)

I have created a SQL Server 2008 database and I have also created a table. Hmmm, now what!? I guess I have to begin to connect to the database and select the table. It’s from here and forward that I would apreciate some hints. Looking forward to get starting! Thanks!

  • 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-08T22:08:04+00:00Added an answer on June 8, 2026 at 10:08 pm

    it depends on two parameters

    1. your amount of data has to update
    
    2. the update frequency
    

    If you feel that these two parameters are important and can slow your application, then uses the offline mode.

    the amount of data can mitigate the bandwidth

    Below an example

        var adapter = new SqlDataAdapter();
        var dataSet = new DataSet();
    
        using(var connection = new SqlConnection(connetionString))
        {
            connection.Open();
            adapter.SelectCommand = new SqlCommand("Your query", connection);
            adapter.Fill(dataSet);
            connection.Close();
    
            //Print results  
            for (i = 0; i <= dataSet.Tables[0].Rows.Count - 1; i++)
            {
                MessageBox.Show(dataSet.Tables[0].Rows[1].ItemArray[1].ToString());
            }
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I am doing a simple coin flipping experiment for class that involves flipping a
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
Does anyone know how can I replace this 2 symbol below from the string
I have a reasonable size flat file database of text documents mostly saved in

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.