Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Simple Questions

Reply
Thread Tools

Simple Questions

 
 
DC
Guest
Posts: n/a
 
      12-22-2003
I'm a newbie, and just moved to .NET programming, got confused with how
datagrid works.
Let say I have datagrid with 3 columns:

ID Name Price
1 Book 10
2 Pencil 5

Questions:
1. How do I make it, so on RowClick, it will redirect to specific page (say:
edit_row.aspx?id=[ id of clicked row ])
For example: if I click on Book, it will redirect me to
edit_row.aspx?id=1
if I click on 5 (Price in the 2nd row), it will
redirect me to edit_row.aspx?id=2
2. How to display Total Record in the left footer, and page navigation in
the right footer?
Something like this:

ID Name Price
1 Book 10
2 Pencil 5
-----------------------------
Total Record: 10 1 2 3...

I hope my questions make sense to you.

Thanks in advance for your help.

- DC


 
Reply With Quote
 
 
 
 
Saravana [MVP]
Guest
Posts: n/a
 
      12-24-2003
> 2. How to display Total Record in the left footer, and page navigation in
> the right footer?
> Something like this:
>
> ID Name Price
> 1 Book 10
> 2 Pencil 5
> -----------------------------
> Total Record: 10 1 2 3...



Check out this article,
http://www.microsoft.com/india/msdn/articles/83.aspx



--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com



"DC" <> wrote in message
news:...
> I'm a newbie, and just moved to .NET programming, got confused with how
> datagrid works.
> Let say I have datagrid with 3 columns:
>
> ID Name Price
> 1 Book 10
> 2 Pencil 5
>
> Questions:
> 1. How do I make it, so on RowClick, it will redirect to specific page

(say:
> edit_row.aspx?id=[ id of clicked row ])
> For example: if I click on Book, it will redirect me to
> edit_row.aspx?id=1
> if I click on 5 (Price in the 2nd row), it will
> redirect me to edit_row.aspx?id=2
> 2. How to display Total Record in the left footer, and page navigation in
> the right footer?
> Something like this:
>
> ID Name Price
> 1 Book 10
> 2 Pencil 5
> -----------------------------
> Total Record: 10 1 2 3...
>
> I hope my questions make sense to you.
>
> Thanks in advance for your help.
>
> - DC
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple VB.Net / webservice requirement (but not simple for me....) Dave E ASP .Net 7 01-11-2006 02:07 PM
Simple Question - Simple Answer? Daniel Frey XML 4 01-12-2005 04:25 PM
Re: Simple Simple question!!! Kevin Spencer ASP .Net 0 06-25-2004 05:25 PM
Re: Simple Simple question!!! ashelley@inlandkwpp.com ASP .Net 0 06-25-2004 04:18 PM
Re: Questions....questions....questions Patrick Michael A+ Certification 0 06-16-2004 04:53 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57