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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T08:22:21+00:00 2026-05-28T08:22:21+00:00

private static DataSet GetAuctionItemsDataSet() { SqlDataAdapter adapt = new SqlDataAdapter(); adapt = DataAdapter; DataSet

  • 0
private static DataSet GetAuctionItemsDataSet()
{
    SqlDataAdapter adapt = new SqlDataAdapter();
    adapt = DataAdapter;
    DataSet filler = new DataSet();

    adapt.Fill(filler.Tables["AuctionItems"]);
    adapt.Fill(filler.Tables["Bids"]);

    return filler;
}

I want the the SqlDataAdapter to populate a new DataSet with records from the db. The DataSet should contain tables “AuctionItems” and “Bids” I think I am close but cannot seem to find the answer.

  • 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-28T08:22:21+00:00Added an answer on May 28, 2026 at 8:22 am

    To populate the DataSet try following syntax,

    DataSet filler = new DataSet();
    adapt.Fill(filler,"AuctionItems");
    adapt.Fill(filler,"Bids");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

private static Dictionary<Type, Func<string, object>> _parseActions = new Dictionary<Type, Func<string, object>> { { typeof(bool),
private static readonly Dictionary<int, LocalizationLanguage> _languages = new Dictionary<int, LocalizationLanguage>() { {0,new LocalizationLanguage {
private static void changeString(String s) { s = new String(new string); } public static
private static Vector2 DefaultMulFactors = new Vector2(0.5f, 0.5f); private static Point DefaultShifts = new
private static RE _TaskTypeRE = new RE(~:~([0-9]*)~); and this requires import com.sun.org.apache.regexp.internal.RE; So on
private static int reverse(int n, int r) { if (n == 0) return r;
private static void SaveOrRemove<T>(string key, T value) { if (value == null) { Console.WriteLine(Remove:
[ThreadStatic] private static Foo _foo; public static Foo CurrentFoo { get { if (_foo
Consider the following code: private static void WriteProcesses(StreamWriter sw, DateTime d) { sw.WriteLine(List of
This code compiles: private static void Main(string[] args) { bool? fred = true; if

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.