473,378 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Datagrid with grouping

hello,
I was wondering if there is anyway that you can implement a datagrid that spreads over two rows based on grouping, so you could have something similar to below.
Description qty type A Type B Type c
Part 1 2 £11.00 £12.00 £13.00
Costs £22.00 £24.00 £26.00
Part 2 2 £60.00 £100.00 £46.00
Costs £120.00 £200.00 £92.00

The number of rows that the datagrid should contain is not determined till runtime.

Any help would be appreciated.

Geraldine
Nov 20 '05 #1
1 1420
Hi,

Dont know of any way to do that with the datagrid. Take a look at
the free component one grid that comes with vb.net resource kit. There are
samples that show you how to do grouping.

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx
Ken
--------------------------
"Geraldine Hobley" <Ge*************@discussions.microsoft.com> wrote in
message news:8D**********************************@microsof t.com...
hello,
I was wondering if there is anyway that you can implement a datagrid
that spreads over two rows based on grouping, so you could have something
similar to below.
Description qty type A Type B Type c
Part 1 2 £11.00 £12.00 £13.00
Costs £22.00 £24.00 £26.00
Part 2 2 £60.00 £100.00 £46.00
Costs £120.00 £200.00 £92.00

The number of rows that the datagrid should contain is not determined till
runtime.

Any help would be appreciated.

Geraldine

Nov 20 '05 #2

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

Similar topics

1
by: Domagoj Kovaè | last post by:
....I suppose I will get ton of "you sould buy my XXX component" replies on this, but i'll give it a try anyhow.... 1) Our ASP.NET team needs some "powerfull" datagrid, that is (if possible)...
3
by: Marty | last post by:
Hi, How do I set rows/colums, titles and data in the DataGrid control of VB.NET. I don't want to pass through a dataset and use databinding. I want to set this grid manually. Is there any...
3
by: ahaque38 | last post by:
Hello. Using A2K SP3, I am having the following problem with a report using "Sorting and Grouping". I have recently added a grouping in the reports for "Category2<>'CONTRACTS'". I have...
2
by: Diogo Alves - Software Developer | last post by:
Hi, I have a table with companies that is related to a table with departments, and I would like to displya in my datagrid something like this -Company1 -Company2 +Company3 Department1 | ...
0
by: JemPower | last post by:
I wonder if anyone has some advice or suggestions on a problem I have. I've populated a datagrid and have a radiobutton in the first column which is for the users to select a row. The problem is...
1
by: John Martin | last post by:
This should be an easy match, but I'm lost. I want to perform a kind of grouping of the data in a datagrid object, so that only the first occurrence of a value in column one is visible. The...
2
by: Paul | last post by:
If it's possible I would like to perform some client side actions on my Visual Basic asp.net application. An example of what I'm trying to do. I have a DATAGRID with columns ITEM, ITEMTYPE and a...
1
by: sunil | last post by:
Hi there, I am trying to implement the task in which i have a datagrid filled with data extracted from the database and a combobox in which i have populated some data. Now what i want to do is...
1
by: umeshpotdar | last post by:
hi all of u i'm doing project in vb.net i have to use datagrid can i use datagrid as column of another datagrid is this type of facility is in .net? or any other way.? i want foll. format in...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.