passing values between web forms in ASP.NET 
Author Message
 passing values between web forms in ASP.NET

Hi there,

I cannot pass values between web forms in my application. You can see the
code at the bottom. I can't figure out what's wrong.
Thanks,
Burak

Public ourFileNumber As String

Public Property proOurFileNumber() As String

Get

Return ourFileNumber

End Get

Set(ByVal Value As String)

proOurFileNumber = Value

End Set

End Property

Private Sub btnAddNewClients_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnAddNewClients.Click

Server.Transfer("Clients.aspx")

End Sub

Public webformbir As WebForm1

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

'Put user code to initialize the page here

If Not Page.IsPostBack Then

webformbir = CType(context.Handler, WebForm1)

txtOurFileNumber.Text = webformbir.proOurFileNumber

End If

End Sub



Sun, 09 Oct 2005 14:45:53 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VB.NET with ASP.NET web forms

2. Passing Form Fields to VB.NET Custom Business Object in an ASP.NET Code Behind Page

3. Passing values from Windows Form to Web Form

4. Problem passing VB COM+ ASP Request object to .NET component System.Web.HTTPRequest through COM interop

5. Passing values from Windows From to Web Form

6. IDE Editor in ASP.Net Web forms

7. Passing values between forms in VB.net

8. Passing values between forms in VB.net

9. ASP : Passing values from One ASP to the Next

10. Can I use VB.net to develop an asp.net web application

11. Web Reports (ASP.NET and Crystal Reports for .Net)

12. pass a form from web page to web page

 

 
Powered by phpBB® Forum Software