473,385 Members | 1,357 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,385 software developers and data experts.

Group By Question

Hi Guys, i have records in database and each belong to certain region(about
5-6 regions i believe). Now in sql, we can execute query using group by
command to retrieve records grouped by region id. Now i need to display in vb
..net aspx page. I can execute query for each region however is there anything
i can use such as datagrid , dataview or datalist which can present records
for a region with heading for that region skip a line and then display the
other.

Thanks

Manny
Nov 19 '05 #1
1 1016
Hi Manny,

There are a couple of ways to achieve it, Crystal Reports,
Repeater + datagrid, or Repeater + DataList, and so on.
Using Crystal Reports, you can put region heading in
Header Section and associated data in detail section.
Similarly, you can use Repeater to loop thru regions and
put detailed data in datagrid or datalist that is nested
the Repeater.

HTH

Elton Wang
el********@hotmail.com

-----Original Message-----
Hi Guys, i have records in database and each belong to certain region(about5-6 regions i believe). Now in sql, we can execute query using group bycommand to retrieve records grouped by region id. Now i need to display in vb..net aspx page. I can execute query for each region however is there anythingi can use such as datagrid , dataview or datalist which can present recordsfor a region with heading for that region skip a line and then display theother.

Thanks

Manny
.

Nov 19 '05 #2

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

Similar topics

2
by: David Jackson | last post by:
Howdy -- <Rant> It's a common problem when trying to install apps like this on hosted (virtual host) sites, that the app wants to run as the Apache user/group. Inlcuding wrx permissions on...
1
by: Angela | last post by:
This question is in reference to another question I posted titled, "This advertised application will not be installed because it might be unsafe". The error I am getting says I need to change...
2
by: Tom Loach | last post by:
Our system administrator set up an NT server group in order to allow our users to login to our application via https to our sql server. The group appears as a User in SQL Server when you look at...
10
by: Randy | last post by:
I have asked a number of questions as a newbie trying to learn Access. Some folks have been very helpful with very direct and simple answers that help alot. Others give me answers with extensive...
1
by: David Horowitz | last post by:
Hi folks. I need to create a report that has a Group Header that pulls certain data from the Detail section. It's something like this: +--Report---------------------------------------- |...
17
by: Balaji K | last post by:
Hi Y'all, There is a new community for C# developers@ http://groups.msn.com/IndiaCSharpDevelopersGroup This is a forum for C# Developers and those who wish to become C# Developers. Just about...
17
by: TC | last post by:
In the past I always regarded user/group security as fairly tight. It is tricky to implement, but once implemented properly, it can't be cracked except through a dedicated effort. Recently,...
6
by: MM | last post by:
Hello users. I have a query that I can run and see the result on the grid on design time, but when i run the program i get the folowing message:ORA-00979: not a GROUP BY expression. When I run the...
3
by: Duncan A. McRae | last post by:
I am trying to find a simple answer to, "if I use LINQ against tables, must I give the webuser datareader/datawriter permissions in SQL Server?". I see the question asked repeatedly, but instead...
4
by: SjaakBanaan | last post by:
Hey all, I have a question that ought to be simple but has given me headaches for a while. I have a table with contact email addresses, say. T ID ContID Priority Emailaddress...
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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

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.