Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET 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 August 16th, 2005, 02:37 AM
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default master table column problem in datagrid

Hi All!
I m developing an inventory control system in vb.net and need a lot of support from u guys, thanks in advance.

Well i m facing problem in datagrid for displaying data from referenced (relation) tables. No! i m not talking about Master-Details transactions datagrid, rather 1 step further.

I have 4 tables:

1) Vendors
2) Products
3) Purchase_Master
4) Purchase_Details

Relations:
----------
Purchase Master -> Vendors
Purchase Master -> Purchase_Details
Purchase Details -> Products

Purchase_Details Table:
--------
ID---------Master_Table_ID-------------Product_ID------------Qty
Int---------------int(referenced) ----------int (referenced)

Required UI:
---------
ID------Master_Table_ID----------Product_ID-----------Product_Name -------Qty
14---------1-------------------------3-------------------Aldomat Tablet -----100

After creating relations, the form grid works fine.
But the purchase_details grid shows only "ID" (referenced_key) of products table which is not applicable by the user. user wants item by description.

In other words, while entering items, the purchase_detail_datagrid shows id of the product and quantity, but entry by product name is required (by selection) , and product_name field exists in "Product" Table. further, product_description field is only for disply in transactions table.
 
Old August 17th, 2005, 01:13 AM
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Guys!
C'mon, i need atleast few hints from u gurus
A little help may save Hulk from Little Red Riding Hood





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in binding DataBound Column of DataGrid su General .NET 0 December 1st, 2006 02:21 PM
Datagrid template column problem sonurijs ASP.NET 1.0 and 1.1 Professional 1 September 27th, 2005 12:53 PM
DataGrid Column Width Problem demivolt ASP.NET 1.0 and 1.1 Professional 1 July 22nd, 2005 09:05 AM
Datagrid Column Width resize problem Deadseven VS.NET 2002/2003 0 September 28th, 2004 09:02 AM
Datagrid template column problem lore6673 ASP.NET 1.x and 2.0 Application Design 1 December 3rd, 2003 11:05 AM





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