Tutorials
Resources
Forum
Interview
Jobs
Projects
Offshore Development
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Revenue Sharing
|
Talk to Us
|
My Profile
Sign In
Register
AdSense Revenue
Gifts
Active Members
Today
Satyanarayan SushilKumar Bajoria
(1)
juhee
(1)
Last 7 Days
Shivshanker Cheral
(931)
K.V.K
(753)
Ratheesh
(671)
more...
Display Datalist Page Counting
Posted Date:
17 May 2008
Total Responses:
1
Posted By:
suresh
Member Level:
Silver
Points
: 1
Frenz:
I have bind 15 records in Datalist and did paging (5 record per page).Now i want to display
current page's count from total number of pages.Ex:
In 15 records 5records per page means totaly 3 pages i want to display like this:
for 1st page 1/3, for second page 2/3....like wise.Can any one send me the code .....
Thanks:
suresh
Responses
Author:
mohan
17 May 2008
Member Level:
Silver
Rating:
Points
: 2
I think this code works for gridview. Code is as follows
Label1.Text = (GridView1.PageIndex+1).ToString() + "/" + GridView1.PageCount.ToString();
Code will be displayed in label.
Post Reply
You must
Sign In
to post a response.
Next :
It s URGENT>>>>>>>>>>>>>>>>>>>>>
Previous :
function using max,count in xml xpath
Return to Discussion Forum
Post New Message
Category:
ASP.NET
Related Messages
retriving data from web server.
with connecting to sqlserver getting error
error while inserting data continously in asp.net page
datagrid
how to pass values across the page
Read
TATA Nano reviews
.
dotNet Slackers
BizTalk Adaptors
Web Design
Scripts
Are you waiting for engineering entrance result? Watch here for
engineering entrance results
.
web conferencing
Contact Us
Privacy Policy
Terms Of Use