473,625 Members | 3,384 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to merge items in table (by relation)

32 New Member
Hi all,

I have been trying to create a database preview table.
the table should merge the cell of related items (by two fields, ID and type)

How can i present to the user this kind of table ?

Example in the attached pic.
Attached Images
File Type: jpg DB_Preview.jpg (20.5 KB, 887 views)
Aug 23 '09 #1
1 4518
fastestindian
74 New Member
Hi,

you can use 'Merge' method of Datatables. Which allows you to merge two tables with similar schemas.

please check the following link...
http://msdn.microsoft.com/en-us/libr...ble.merge.aspx
Aug 24 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1442
by: No Spam | last post by:
To fellow Access 2K users: I have run into a newbie situation where I have been assigned to create an Access database to act as a schedule. Basically, it is a very simple setup: the end product is an Excel like grid that needs to have: * The periods along the top of the grid (which are weekly periods) * The names of the emploees along the left * The clients in the body of the grid
16
4881
by: UDBDBA | last post by:
Hi All: I need some clarification on a MERGE statement. The database is on V8 FP12 (AIX) 64bit. The source table is tableA. The target is a View "FACT" with UNION ALL because of the 512 Gig restriction. Will a MERGE into this view "FACT" from tableA work?
0
1144
by: venkatarao savadana | last post by:
Table A: tm,Mod, Dip Table B : Dip,annou,seg Table C : Dip, seg Table D: tm,Mod,annou Now i need to update A.Dip with B.Dip where A(tm,Mod) in D(tm,Mod) and B.annou=D.Annou . I am a new Guy to DB2 Can Anybody help with this in DB2?
3
1250
by: acctman | last post by:
Hi i need help with a sql query. i have two tables Product and tblWebProduct, i need to merge the two tables together only copying the rows IF the stockcodes match (Product.StockCode & tblWebProducts.STOCK_CODE table). Products table will receive all the new data appending the new columns and row data. thanks example. Product TBL stockcode 001 : item jacket tblWebProducts stock_code 000 : price 12 : color blue
9
1530
by: Miro | last post by:
VS2008 I have created 3 tables. Vendors Customers PhoneNumbers each have their own key Vendor has: VendorID - int unique identifier Customer has: CustomerID - int unique identifier
2
1683
by: biofly | last post by:
Hi Friends, I have two tables, second table has relation Table1: ---------- Id ---------- A01 A02
1
2131
by: omaragainonthetrack | last post by:
public void InsertPlannedMaterialMasterRequest(int id, string requestDocument, string requestDescription, string requestType, string hodApproval, int companyCode, string hodRemarks, string det_Description, string name, int qty, string code) { string query = "INSERT INTO MasterRequest (ID,Req_Document,Req_Description,ReqType,HODApproval,CompanyCode,HODRemarks) VALUES...
0
8256
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8189
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8694
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8356
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7184
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4089
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4193
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1500
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.