Advertisement

02.19.2008 at 06:13AM PST, ID: 23174331
[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!

9.4

Creating a class

Asked by sirbounty in Microsoft Visual Basic.Net, .NET, .NET Framework 2.x

When a user enters an employee number, I perform a background query of some details and display them on the main part of the form.
I'm also displaying a data grid on another part of the form that I hope to show more data broken up by type (addresses, phone numbers, etc), chosen by a drop down.

What I'd like to do when the employee number is first entered, is to go ahead and collect that extra data and store it in its own class as a data table that I can just use as the source, so that the drop down selection, immediately updates the data grid, without having the user wait for it to be pulled from the database.

I thought creating a class would be the best way to accomplish this - but need some help getting it started...
Anyone willing to help out on this one?  I can break it down into several steps if need be, just wanted to get the layout of the class and an idea on how to formulate it properly.

I was thinking along the lines of something like this, but fizzled out after I started it...:^)


Public Class Employee
    Public dt As DataTable

 Public Sub New(ByVal tbl As String, ByVal strSQL As String)
        dt = New DataTable(tbl)
        Dim sr As SqlDataReader = SQLQuery(strSQL)
        'build the datatable here - although I guess I'll need the fields in order to properly setup the datagrid....
Start Free Trial
[+][-]02.19.2008 at 06:37AM PST, ID: 20928623

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.19.2008 at 06:42AM PST, ID: 20928683

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.19.2008 at 06:45AM PST, ID: 20928718

View this solution now by starting your 7-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

Zones: Microsoft Visual Basic.Net, .NET, .NET Framework 2.x
Sign Up Now!
Solution Provided By: FernandoSoto
Participating Experts: 2
Solution Grade: A
 
 
[+][-]02.19.2008 at 06:47AM PST, ID: 20928745

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.19.2008 at 06:50AM PST, ID: 20928793

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906