Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
|
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 2nd, 2007, 09:59 AM
Authorized User
 
Join Date: Dec 2006
Posts: 70
Thanks: 0
Thanked 1 Time in 1 Post
Default question about reading xml dataset

I created an XML dataset that contains the results of the main queries from my database.
I need to select only some of the records for each table based on the selection the user has made earlier.
I am able to fully populate each of my combo boxes, but I haven't been able to figure out how to write the IF statement to use the selected index from the previous combo box to only populate the current combo box with just the entries based on the previous selection.

I would really appreciate some help.

Thanks,
Karen
 
Old May 3rd, 2007, 12:05 AM
Authorized User
 
Join Date: Dec 2006
Posts: 70
Thanks: 0
Thanked 1 Time in 1 Post
Default

I figured it out ...

I separated each query into it's own xml file.

Karen

 
Old May 3rd, 2007, 01:30 PM
Authorized User
 
Join Date: Dec 2006
Posts: 70
Thanks: 0
Thanked 1 Time in 1 Post
Default

Well, I have a new twist on the question.
I created one more query that pulls back a single value from one of my database tables and I've put it into an xml file all of it's own.
I need the value that is returned from the query to populate a column in a data grid view, instead of populating a combo box.

What's the easiest way to do this?

Thanks,
Karen






Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading XML doc into dataset ankitd25 XML 4 April 29th, 2008 02:37 AM
reading a dataset into a form in datasheet view jd_erd Access 2 January 29th, 2007 04:26 PM
Dataset question MaxGay2 VB.NET 2002/2003 Basics 1 November 16th, 2006 10:33 AM
New Config 2005 Reading Question Neilgott Visual Basic 2005 Basics 0 May 1st, 2006 09:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.