Avatar of Webboy2008
Webboy2008

asked on 

asp.net formview / c#

I have formview in asp.net/c#, and also enable the paging at the bottom...
like next/previous..and etc.

When i click on each, I will to be able to capture like the value of each product.
like if i click on next url, it will show www.xxx.com/default.asp?id=1 .....

is it possible? if yes, can you show me the sample code?

Thanks
ASP.NETC#

Avatar of undefined
Last Comment
disrupt
Avatar of disrupt
disrupt
Flag of United States of America image

On your paging you can set something like this:

Response.Redirect("default.aspx?id=" + product.ID);
Avatar of Webboy2008
Webboy2008

ASKER

how?
Avatar of disrupt
disrupt
Flag of United States of America image

Avatar of Webboy2008
Webboy2008

ASKER

i need a sample, working sample in codes using Formview will be great.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of disrupt
disrupt
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo