Solved

Data Shaping in ASP

Posted on 2003-12-09
3
195 Views
Last Modified: 2010-04-06
If I have a view that has 4 fields (customer, product, product type, date - all the fields are not unique and can be both parent or child) For example:

customer   product   product type   date
ABC          BEEF       FOOD             1/1/03
ABC          SHIRT     CLOTHES        2/6/03
BGH          APPLE     FOOD             7/7/02
BGH          BEEF       FOOD             7/7/02
CCC         SHIRT     CLOTHES        5/5/03

Can you show me how to use data shaping to select * the fields using 'product' as parent and select * the fields using 'product type' as child.
0
Comment
Question by:musclejack
  • 2
3 Comments
 
LVL 35

Expert Comment

by:YZlat
ID: 9910239
select * from myViewOrTable
Order By product, product_type

I'm not sure what do you mean by select as parent and select as child
0
 
LVL 8

Expert Comment

by:NowaY
ID: 9916456
musclejack,

I answered your last question be giving you an example of data shaping as requested.

Thanks,
Dominick
0
 
LVL 8

Accepted Solution

by:
NowaY earned 500 total points
ID: 9916477
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now