Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Group data in GridView

0 views
Skip to first unread message

Vijay

unread,
Nov 9, 2009, 3:26:29 AM11/9/09
to
How to group data in grid view

Vijay chandar

Alexey Smirnov

unread,
Nov 9, 2009, 4:27:14 AM11/9/09
to
On Nov 9, 9:26 am, "Vijay" <vijaychandar1...@gmail.com> wrote:
> How to group data in grid view
>
> Vijay chandar

What do you mean by grouping data? The GridView shows data based on
datasource and sorting order. Maybe you should order the grid by
specific column.

Mark Rae [MVP]

unread,
Nov 9, 2009, 7:02:38 AM11/9/09
to
"Vijay" <vijaycha...@gmail.com> wrote in message
news:earLWZRY...@TK2MSFTNGP05.phx.gbl...

> How to group data in grid view

As Alexey correctly states, you have not provided anything like enough
information for this question to be answered...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Vijay

unread,
Nov 9, 2009, 11:29:47 AM11/9/09
to
Thank you for your reply.

I'll give an example. If I'm displaying employee details, I would like to
use group by clause (Eg: group by designation) in sql to fetch data and
display it Gridview.

Thank you in advance,
Vijay chandar.

"Vijay" <vijaycha...@gmail.com> wrote in message
news:earLWZRY...@TK2MSFTNGP05.phx.gbl...

Mark Rae [MVP]

unread,
Nov 9, 2009, 12:48:03 PM11/9/09
to
"Vijay" <vijaycha...@gmail.com> wrote in message
news:u47XqnVY...@TK2MSFTNGP05.phx.gbl...

> I'll give an example. If I'm displaying employee details, I would like to
> use group by clause (Eg: group by designation) in sql to fetch data and
> display it Gridview.

http://www.google.co.uk/search?aq=f&sourceid=chrome&ie=UTF-8&q=%22SQL+Server%22+%22GROUP+BY%22

0 new messages