?
Solved

Filter Dataset Based On ComboBox

Posted on 2008-06-11
3
Medium Priority
?
259 Views
Last Modified: 2010-04-23
I have a ComboBox that is filled via the following :

 Dim dv As DataView
        dv = mydataset.Message.DefaultView
        dv.RowFilter = "enabled= 1"
        ComboBox1.DataSource = dv
        ComboBox1.DisplayMember = "Name"
        ComboBox1.ValueMember = "id_number"
        ComboBox1.Text = "Select To Edit Record"

After I select a name; I would like to filter the dataset so that all of the fields on the form are set to that particular record selected based on id_number(valuemember).  The fields can be bound or not it does not make any difference.  I just need them to all populate with the related data based on the id selected in the combo.
0
Comment
Question by:H-SC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
raja_ind82 earned 2000 total points
ID: 21763534
0
 
LVL 1

Author Comment

by:H-SC
ID: 21771880
0
 
LVL 1

Author Comment

by:H-SC
ID: 21771883
Many thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question