[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

09/05/2006 at 02:45PM PDT, ID: 21979017
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.0

Data Tables, querying using SQL and returning results to a new data table.

Asked by NeilGrant in Microsoft Visual Basic.Net

Tags: data, datatables, from, sql, table

Hi,

I am working with a windows application and I have a dataset with several datatables loaded from individual tables of an Access database.  I want to be able to create other datatables in the dataset that have the results of a "relational" SQL query on the existing datatables.   Then I will use the resulting datatable as a datasource for a binding which is in turn a datasource for a datagridview that users work with.

So, for example, if I have a datatable called Users with a field called StateID and a datatable called States with fields StateID and StateName I want to run a SQL command like

    SELECT Users.*, States.StateName FROM Users, States WHERE Users.StateID = States.StateID

then return the results to a new datatable in the dataset.

I can get the results I want by using a dataadapter for each relational query, however this means connecting back to the database all the time for reading and writing.  My cunning plan is to avoid this (due to slow network links) and allow the user to load the data they need once, then create additional datatables as required in memory to hold the related data.  As the users make changes, I will do the updating back to the memory based datatables that were loaded using dataadapters.  When appropriate I will use the update command of the dataadapters to get all the results back to the database.

I have looked at adding a relation to the dataset but this doesn't seem to be able to produce a datasource that will display in a datagrid view as described in my example above.

So as always any help welcome.

Neil
[+][-]09/06/06 03:48 AM, ID: 17461973

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/06/06 06:00 AM, ID: 17462746

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/06/06 03:50 PM, ID: 17467015

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/06/06 11:28 PM, ID: 17468516

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/06/06 11:34 PM, ID: 17468533

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/07/06 01:27 AM, ID: 17468903

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/07/06 04:47 AM, ID: 17469850

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/10/06 08:51 PM, ID: 17491657

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/10/06 11:54 PM, ID: 17492106

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/11/06 04:50 AM, ID: 17493624

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/12/06 11:31 PM, ID: 17509471

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/13/06 05:48 AM, ID: 17511397

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual Basic.Net
Tags: data, datatables, from, sql, table
Sign Up Now!
Solution Provided By: graye
Participating Experts: 2
Solution Grade: A
 
 
[+][-]09/13/06 08:45 PM, ID: 17517598

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91