Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 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 20th, 2004, 09:02 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Default Datagrid styles, when using innerjoin

I have a datagrid that I have populated using OleDbDataAdapter, Dataset etc to an Access DB, I have used an innerjoin to populate the grid with data from two tables. This all works fine, but I now want to add a style to the grid so that I can give the grid proper header text. widths etc, I have done this but only the data from one tables appear once I have applied the style.

I think it is because I have used a mapping name for the style and I can only use one tables name (items).

tbltest.MappingName = "items"

How can I get around this?

Thanks in advance
Louisa

 
Old May 21st, 2004, 01:37 PM
Authorized User
 
Join Date: May 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Need to join the tables in one record set and set the data source to that.

Set grdSearchResult.Recordset = objRs








Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with styles toddw607 Javascript 3 June 3rd, 2008 12:37 PM
Chart Styles lumaar BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 June 8th, 2006 01:05 AM
Styles tsimsha HTML Code Clinic 2 February 9th, 2006 11:32 AM
Custom Styles bmains VB.NET 1 December 21st, 2005 02:30 PM
Visual Styles jlanxxi VB.NET 2002/2003 Basics 0 September 21st, 2004 05:54 AM





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