asp.net formview/c#

Webboy2008
Webboy2008 used Ask the Experts™
on
8-5-2011-2-54-16-PM.pdf
Hello! I have a FormView in asp.net/c#. and please view the attached file.
Basically, once last/next link is clicked, I would like to see value on url.

Is this possible?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
The language is vb.net not c#. Thanks

Commented:
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx


Private Sub Application_BeginRequest(sender As Object, e As EventArgs)

	Dim fullOrigionalpath As String = Request.Url.ToString()

	If fullOrigionalpath.Contains("default.aspx") Then
		Context.RewritePath("/Products.aspx?partno=texthere")
	End If
End Sub

Open in new window

Commented:
correction***
Private Sub Application_BeginRequest(sender As Object, e As EventArgs)

        Dim fullOrigionalpath As String = Request.Url.ToString()

        If fullOrigionalpath.Contains("default.aspx") Then
                Context.RewritePath("/default.aspx?partno=texthere")
        End If
End Sub

Open in new window

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial