473,657 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Data Grid Format

Does anyone have an example of how to format VS 2003 Data Grid that looks like the example below?

I want the data to be grouped by the Date Field and display one date for each group of dates and the date to be the heading for each group.

------------------------------------------------------
| | Consignee | Location | MU |
------------------------------------------------------
| February 21, 2005 |
------------------------------------------------------
| | CITY FOREST CORP | LADYSMITH ,WI | 85 |
| | FOX RIVER PAPER | APPLETON ,WI | 81 |
| | FOX RIVER PAPER | APPLETON ,WI | 81 |
| | GEORGE BANTA CO | MENASHA ,WI | 31 |
------------------------------------------------------
| February 22, 2005 |
------------------------------------------------------
| | FOX RIVER PAPER | APPLETON ,WI | 81 |
| | GEORGE BANTA CO | MENASHA ,WI | 80 |
------------------------------------------------------

Thank You
Peter
Nov 16 '05 #1
1 1377
hi,

there is no feature included in the DataGrid class for this, you have two options, you could create a grid inside a repeater, the repeatuer will create the grouping by date, then the grid ( or another repeater ) will show the particular orders.

you would have to create also the data sources for each objects using the correct criteria.

another solution could be using crystal report .
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Peter" <pczurak@.nospa m.nospam> wrote in message news:u2******** ********@TK2MSF TNGP14.phx.gbl. ..
Does anyone have an example of how to format VS 2003 Data Grid that looks like the example below?

I want the data to be grouped by the Date Field and display one date for each group of dates and the date to be the heading for each group.

------------------------------------------------------
| | Consignee | Location | MU |
------------------------------------------------------
| February 21, 2005 |
------------------------------------------------------
| | CITY FOREST CORP | LADYSMITH ,WI | 85 |
| | FOX RIVER PAPER | APPLETON ,WI | 81 |
| | FOX RIVER PAPER | APPLETON ,WI | 81 |
| | GEORGE BANTA CO | MENASHA ,WI | 31 |
------------------------------------------------------
| February 22, 2005 |
------------------------------------------------------
| | FOX RIVER PAPER | APPLETON ,WI | 81 |
| | GEORGE BANTA CO | MENASHA ,WI | 80 |
------------------------------------------------------

Thank You
Peter
Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2157
by: Les | last post by:
Hi can anyone help me, I have just graduated and have started working for a building developer which deals with a large quantity of drawings. As you can imagine these all need documenting and revision of drawings kept a track of. I have recently taking over the administration of the drawings and their current system is not capable of easily managing the data so I have taken it upon myself to try and organise the data in a database....
2
3031
by: Peter | last post by:
Does anyone have an example of how to format VS 2003 Data Grid that looks like the example below? I want the data to be grouped by the Date Field and display one date for each group of dates and the date to be the heading for each group. ------------------------------------------------------ | | Consignee | Location | MU | ------------------------------------------------------ | February 21, 2005 ...
6
3830
by: Hutty | last post by:
I've looked around and have yet to find anything that would answer my question regarding formating a column in a datagrid. My grid looks like this as far as data" AMHQCON|51300.01|-3147 The first two columns are pretty much text column, but subsequent columns 1-12 are numerical. I'm trying to get the thousand separator to work. Any ideas?
1
1691
by: Paul | last post by:
Hi just wondering how to limit the string size for a data grid column, can this be done from the properties box, data formatting expression? If so what would be the expression to limit it to 20 characters? thanks. -- Paul G Software engineer.
10
1929
by: John Wilson | last post by:
My app produces some long datatables to display in a grid. So I put them in a div so users can scroll. But the grid headers scroll out of view. I would like to stop them doing this. Can I fix them in place at the top of the div? -- John Wilson
1
3111
by: huseinv | last post by:
Hi. I have a search tool which gives data in listing format and grid format (based on selection) on the same asp page. If a user select grid, the result is listed in grid format. Now how i can export to excel.? If i write code ( Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "Content-Disposition", "filename=excelfile.xls" )
1
1964
by: Stephen Plotnick | last post by:
I have a checkbox in a data grid that does not change it's state until I actually leave the field. I've done this routine several times in other data grids without an issue. I'm using VB.2003. Steve
0
1017
by: ashwin | last post by:
I have a Data Grid to display employee names and codes. On clicking a button (outside the datagrid) I perform some calculations which sets the fields of other columns in the datagrid. The problem I am facing is that not all columns are filled with values resulting from the calculations. Only the first few rows are being filled with results. ...
0
919
by: ashwin | last post by:
I have a Data Grid to display employee names and codes. On clicking a button (outside the datagrid) I perform some calculations which sets the fields of other columns in the datagrid. The problem I am facing is that not all columns are filled with values resulting from the calculations. Only the first few rows are being filled with results. ...
0
8392
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
8305
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
8726
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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
7320
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...
1
6163
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4151
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...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1604
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.