473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Error passing values from one pahge to another

Hi,
I have two froms (form1 and form2). I want to be able to pass values from
form 1 to form2 and be able to use those values leter in form2. This is my
code for form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Server.Transfer("form2.aspx", True)
End Sub

Public ReadOnly Property Property1() As String
Get
Return DropDownList1.SelectedItem.Text
End Get
End Property
This is my code for form2

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

sourcepage = CType(Context.Handler, transsend)

TextBox1.Text = sourcepage.Property1

End If

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

sourcepage = CType(Context.Handler, transsend)

TextBox2.Text = sourcepage.Property1
End Sub
The form load works perfect on form2 but when I click the button1 on form2 I
get the error

Specified cast is not valid.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.InvalidCastException: Specified cast is not valid.

Source Error:
Line 45: Private Sub Button1_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles Button1.Click
Line 46:
Line 47: sourcepage = CType(Context.Handler, transsend)
Line 48:
Line 49: TextBox2.Text = sourcepage.Property1

Any ideas?

Nov 19 '05 #1
8 1945
Here's a nice, simple way to pass values from one page to another:
(VB.NET code)

'Add data to the context object before transferring
Context.Items("myParameter") = x
Server.Transfer("WebForm2.aspx")

Then, in WebForm2.aspx:

'Grab data from the context property
Dim x as Integer = CType(Context.Items("myParameter"),Integer)

Of course there are a number of ways to pass values from one page to
another, such as using the querystring, cookies, session,
context, saving to a temporary table in the database between each page, etc.
You'll have to decide which technique is best for your application.
Here are several good articles on the subject to help you decide.
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

http://www.aspalliance.com/kenc/passval.aspx

http://www.dotnetbips.com/displayarticle.aspx?id=79

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
Hi,
I have two froms (form1 and form2). I want to be able to pass values from
form 1 to form2 and be able to use those values leter in form2. This is my
code for form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Server.Transfer("form2.aspx", True)
End Sub

Public ReadOnly Property Property1() As String
Get
Return DropDownList1.SelectedItem.Text
End Get
End Property
This is my code for form2

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

sourcepage = CType(Context.Handler, transsend)

TextBox1.Text = sourcepage.Property1

End If

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

sourcepage = CType(Context.Handler, transsend)

TextBox2.Text = sourcepage.Property1
End Sub
The form load works perfect on form2 but when I click the button1 on form2
I
get the error

Specified cast is not valid.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.InvalidCastException: Specified cast is not
valid.

Source Error:
Line 45: Private Sub Button1_Click(ByVal sender As System.Object,
ByVal
e As System.EventArgs) Handles Button1.Click
Line 46:
Line 47: sourcepage = CType(Context.Handler, transsend)
Line 48:
Line 49: TextBox2.Text = sourcepage.Property1

Any ideas?

Nov 19 '05 #2
When you use Server.Transfer the Handler is only set to the "transferer" on
the first request. When the user hits a button on your second page and
causes a postback, the first page that did the transferring is gone forever.

You will to persist Property1 if you would access to it on a postback.

HTH,

bill
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
Hi,
I have two froms (form1 and form2). I want to be able to pass values from
form 1 to form2 and be able to use those values leter in form2. This is my
code for form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Server.Transfer("form2.aspx", True)
End Sub

Public ReadOnly Property Property1() As String
Get
Return DropDownList1.SelectedItem.Text
End Get
End Property
This is my code for form2

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

sourcepage = CType(Context.Handler, transsend)

TextBox1.Text = sourcepage.Property1

End If

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

sourcepage = CType(Context.Handler, transsend)

TextBox2.Text = sourcepage.Property1
End Sub
The form load works perfect on form2 but when I click the button1 on form2 I get the error

Specified cast is not valid.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidCastException: Specified cast is not valid.
Source Error:
Line 45: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Line 46:
Line 47: sourcepage = CType(Context.Handler, transsend)
Line 48:
Line 49: TextBox2.Text = sourcepage.Property1

Any ideas?

Nov 19 '05 #3
Hi,
Looking at the example

http://www.dotnetbips.com/displayarticle.aspx?id=79

That's still using the session instead of the context. I tries using the
context but The only way the data ia available after form.transfer is at form
laod of the second form. I am looking for a way to store it by using least
amount of memory and not in database and not on client so cookies are out.

Thanks

"Steve C. Orr [MVP, MCSD]" wrote:
Here's a nice, simple way to pass values from one page to another:
(VB.NET code)

'Add data to the context object before transferring
Context.Items("myParameter") = x
Server.Transfer("WebForm2.aspx")

Then, in WebForm2.aspx:

'Grab data from the context property
Dim x as Integer = CType(Context.Items("myParameter"),Integer)

Of course there are a number of ways to pass values from one page to
another, such as using the querystring, cookies, session,
context, saving to a temporary table in the database between each page, etc.
You'll have to decide which technique is best for your application.
Here are several good articles on the subject to help you decide.
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

http://www.aspalliance.com/kenc/passval.aspx

http://www.dotnetbips.com/displayarticle.aspx?id=79

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
Hi,
I have two froms (form1 and form2). I want to be able to pass values from
form 1 to form2 and be able to use those values leter in form2. This is my
code for form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Server.Transfer("form2.aspx", True)
End Sub

Public ReadOnly Property Property1() As String
Get
Return DropDownList1.SelectedItem.Text
End Get
End Property
This is my code for form2

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

sourcepage = CType(Context.Handler, transsend)

TextBox1.Text = sourcepage.Property1

End If

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

sourcepage = CType(Context.Handler, transsend)

TextBox2.Text = sourcepage.Property1
End Sub
The form load works perfect on form2 but when I click the button1 on form2
I
get the error

Specified cast is not valid.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.InvalidCastException: Specified cast is not
valid.

Source Error:
Line 45: Private Sub Button1_Click(ByVal sender As System.Object,
ByVal
e As System.EventArgs) Handles Button1.Click
Line 46:
Line 47: sourcepage = CType(Context.Handler, transsend)
Line 48:
Line 49: TextBox2.Text = sourcepage.Property1

Any ideas?


Nov 19 '05 #4
How do I persist property1?

"William F. Robertson, Jr." wrote:
When you use Server.Transfer the Handler is only set to the "transferer" on
the first request. When the user hits a button on your second page and
causes a postback, the first page that did the transferring is gone forever.

You will to persist Property1 if you would access to it on a postback.

HTH,

bill
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
Hi,
I have two froms (form1 and form2). I want to be able to pass values from
form 1 to form2 and be able to use those values leter in form2. This is my
code for form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Server.Transfer("form2.aspx", True)
End Sub

Public ReadOnly Property Property1() As String
Get
Return DropDownList1.SelectedItem.Text
End Get
End Property
This is my code for form2

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

sourcepage = CType(Context.Handler, transsend)

TextBox1.Text = sourcepage.Property1

End If

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

sourcepage = CType(Context.Handler, transsend)

TextBox2.Text = sourcepage.Property1
End Sub
The form load works perfect on form2 but when I click the button1 on form2

I
get the error

Specified cast is not valid.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information

about
the error and where it originated in the code.

Exception Details: System.InvalidCastException: Specified cast is not

valid.

Source Error:
Line 45: Private Sub Button1_Click(ByVal sender As System.Object,

ByVal
e As System.EventArgs) Handles Button1.Click
Line 46:
Line 47: sourcepage = CType(Context.Handler, transsend)
Line 48:
Line 49: TextBox2.Text = sourcepage.Property1

Any ideas?


Nov 19 '05 #5
My objective is. I have two forms one with customer data and second with
shipping data. After the user fills the customer data and select next the
data is transferred to second form. When second form is filled the data is
sent to database. Now each forms have 15 textboxes so that would be a total
of 30 variables when transferred to form2. That's why I am afraid of using
the sesion. If 4 users are using that will be a total of 120 variables in
session

"Steve C. Orr [MVP, MCSD]" wrote:
Here's a nice, simple way to pass values from one page to another:
(VB.NET code)

'Add data to the context object before transferring
Context.Items("myParameter") = x
Server.Transfer("WebForm2.aspx")

Then, in WebForm2.aspx:

'Grab data from the context property
Dim x as Integer = CType(Context.Items("myParameter"),Integer)

Of course there are a number of ways to pass values from one page to
another, such as using the querystring, cookies, session,
context, saving to a temporary table in the database between each page, etc.
You'll have to decide which technique is best for your application.
Here are several good articles on the subject to help you decide.
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

http://www.aspalliance.com/kenc/passval.aspx

http://www.dotnetbips.com/displayarticle.aspx?id=79

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
Hi,
I have two froms (form1 and form2). I want to be able to pass values from
form 1 to form2 and be able to use those values leter in form2. This is my
code for form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Server.Transfer("form2.aspx", True)
End Sub

Public ReadOnly Property Property1() As String
Get
Return DropDownList1.SelectedItem.Text
End Get
End Property
This is my code for form2

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

sourcepage = CType(Context.Handler, transsend)

TextBox1.Text = sourcepage.Property1

End If

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

sourcepage = CType(Context.Handler, transsend)

TextBox2.Text = sourcepage.Property1
End Sub
The form load works perfect on form2 but when I click the button1 on form2
I
get the error

Specified cast is not valid.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.InvalidCastException: Specified cast is not
valid.

Source Error:
Line 45: Private Sub Button1_Click(ByVal sender As System.Object,
ByVal
e As System.EventArgs) Handles Button1.Click
Line 46:
Line 47: sourcepage = CType(Context.Handler, transsend)
Line 48:
Line 49: TextBox2.Text = sourcepage.Property1

Any ideas?


Nov 19 '05 #6
OK, I'd suggest using a single form with two panels.
Only one panel is visible at a time. The first panel holds the customer
controls, and the second panel holds the shipping controls.
That way all the controls persist between postback automatically and it's
fairly light on server RAM usage. The tradeoff is it sucks up slightly more
bandwidth, but hey, you can't have everything.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:D7**********************************@microsof t.com...
My objective is. I have two forms one with customer data and second with
shipping data. After the user fills the customer data and select next the
data is transferred to second form. When second form is filled the data is
sent to database. Now each forms have 15 textboxes so that would be a
total
of 30 variables when transferred to form2. That's why I am afraid of using
the sesion. If 4 users are using that will be a total of 120 variables in
session

"Steve C. Orr [MVP, MCSD]" wrote:
Here's a nice, simple way to pass values from one page to another:
(VB.NET code)

'Add data to the context object before transferring
Context.Items("myParameter") = x
Server.Transfer("WebForm2.aspx")

Then, in WebForm2.aspx:

'Grab data from the context property
Dim x as Integer = CType(Context.Items("myParameter"),Integer)

Of course there are a number of ways to pass values from one page to
another, such as using the querystring, cookies, session,
context, saving to a temporary table in the database between each page,
etc.
You'll have to decide which technique is best for your application.
Here are several good articles on the subject to help you decide.
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

http://www.aspalliance.com/kenc/passval.aspx

http://www.dotnetbips.com/displayarticle.aspx?id=79

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
> Hi,
> I have two froms (form1 and form2). I want to be able to pass values
> from
> form 1 to form2 and be able to use those values leter in form2. This is
> my
> code for form1
>
> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles Button1.Click
> Server.Transfer("form2.aspx", True)
> End Sub
>
> Public ReadOnly Property Property1() As String
> Get
> Return DropDownList1.SelectedItem.Text
> End Get
> End Property
>
>
> This is my code for form2
>
>
>
> 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
>
> sourcepage = CType(Context.Handler, transsend)
>
> TextBox1.Text = sourcepage.Property1
>
> End If
>
> End Sub
>
> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles Button1.Click
>
> sourcepage = CType(Context.Handler, transsend)
>
> TextBox2.Text = sourcepage.Property1
>
>
> End Sub
>
>
> The form load works perfect on form2 but when I click the button1 on
> form2
> I
> get the error
>
> Specified cast is not valid.
> Description: An unhandled exception occurred during the execution of
> the
> current web request. Please review the stack trace for more information
> about
> the error and where it originated in the code.
>
> Exception Details: System.InvalidCastException: Specified cast is not
> valid.
>
> Source Error:
>
>
> Line 45: Private Sub Button1_Click(ByVal sender As System.Object,
> ByVal
> e As System.EventArgs) Handles Button1.Click
> Line 46:
> Line 47: sourcepage = CType(Context.Handler, transsend)
> Line 48:
> Line 49: TextBox2.Text = sourcepage.Property1
>
> Any ideas?
>


Nov 19 '05 #7
Sorry about the weekend delay.

Place this property on your page 2.

Private Property Property1FromPage1()
Get
Return CType(ViewState("Property1FromPage1"), String)
End Get
Set(ByVal Value)
ViewState("Property1FromPage1") = Value
End Set
End Property
In your page load, when not postback, you will set this property:

Page_Load
Property1FromPage1 = CType(Context.Handler, transsend).Property1

Property1FromPage1 will always contain the value from the first page, and
you can use this value on all subsequent postbacks.

bill
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:F2**********************************@microsof t.com...
How do I persist property1?

"William F. Robertson, Jr." wrote:
When you use Server.Transfer the Handler is only set to the "transferer" on the first request. When the user hits a button on your second page and
causes a postback, the first page that did the transferring is gone forever.
You will to persist Property1 if you would access to it on a postback.

HTH,

bill
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
Hi,
I have two froms (form1 and form2). I want to be able to pass values from form 1 to form2 and be able to use those values leter in form2. This is my code for form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Server.Transfer("form2.aspx", True)
End Sub

Public ReadOnly Property Property1() As String
Get
Return DropDownList1.SelectedItem.Text
End Get
End Property
This is my code for form2

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

sourcepage = CType(Context.Handler, transsend)

TextBox1.Text = sourcepage.Property1

End If

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

sourcepage = CType(Context.Handler, transsend)

TextBox2.Text = sourcepage.Property1
End Sub
The form load works perfect on form2 but when I click the button1 on form2
I
get the error

Specified cast is not valid.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more

information about
the error and where it originated in the code.

Exception Details: System.InvalidCastException: Specified cast is not

valid.

Source Error:
Line 45: Private Sub Button1_Click(ByVal sender As System.Object,

ByVal
e As System.EventArgs) Handles Button1.Click
Line 46:
Line 47: sourcepage = CType(Context.Handler, transsend)
Line 48:
Line 49: TextBox2.Text = sourcepage.Property1

Any ideas?


Nov 19 '05 #8
Hi,
How long does session variable stays in server memory after session.remove?

Thanks

"Steve C. Orr [MVP, MCSD]" wrote:
OK, I'd suggest using a single form with two panels.
Only one panel is visible at a time. The first panel holds the customer
controls, and the second panel holds the shipping controls.
That way all the controls persist between postback automatically and it's
fairly light on server RAM usage. The tradeoff is it sucks up slightly more
bandwidth, but hey, you can't have everything.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:D7**********************************@microsof t.com...
My objective is. I have two forms one with customer data and second with
shipping data. After the user fills the customer data and select next the
data is transferred to second form. When second form is filled the data is
sent to database. Now each forms have 15 textboxes so that would be a
total
of 30 variables when transferred to form2. That's why I am afraid of using
the sesion. If 4 users are using that will be a total of 120 variables in
session

"Steve C. Orr [MVP, MCSD]" wrote:
Here's a nice, simple way to pass values from one page to another:
(VB.NET code)

'Add data to the context object before transferring
Context.Items("myParameter") = x
Server.Transfer("WebForm2.aspx")

Then, in WebForm2.aspx:

'Grab data from the context property
Dim x as Integer = CType(Context.Items("myParameter"),Integer)

Of course there are a number of ways to pass values from one page to
another, such as using the querystring, cookies, session,
context, saving to a temporary table in the database between each page,
etc.
You'll have to decide which technique is best for your application.
Here are several good articles on the subject to help you decide.
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

http://www.aspalliance.com/kenc/passval.aspx

http://www.dotnetbips.com/displayarticle.aspx?id=79

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
> Hi,
> I have two froms (form1 and form2). I want to be able to pass values
> from
> form 1 to form2 and be able to use those values leter in form2. This is
> my
> code for form1
>
> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles Button1.Click
> Server.Transfer("form2.aspx", True)
> End Sub
>
> Public ReadOnly Property Property1() As String
> Get
> Return DropDownList1.SelectedItem.Text
> End Get
> End Property
>
>
> This is my code for form2
>
>
>
> 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
>
> sourcepage = CType(Context.Handler, transsend)
>
> TextBox1.Text = sourcepage.Property1
>
> End If
>
> End Sub
>
> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles Button1.Click
>
> sourcepage = CType(Context.Handler, transsend)
>
> TextBox2.Text = sourcepage.Property1
>
>
> End Sub
>
>
> The form load works perfect on form2 but when I click the button1 on
> form2
> I
> get the error
>
> Specified cast is not valid.
> Description: An unhandled exception occurred during the execution of
> the
> current web request. Please review the stack trace for more information
> about
> the error and where it originated in the code.
>
> Exception Details: System.InvalidCastException: Specified cast is not
> valid.
>
> Source Error:
>
>
> Line 45: Private Sub Button1_Click(ByVal sender As System.Object,
> ByVal
> e As System.EventArgs) Handles Button1.Click
> Line 46:
> Line 47: sourcepage = CType(Context.Handler, transsend)
> Line 48:
> Line 49: TextBox2.Text = sourcepage.Property1
>
> Any ideas?
>


Nov 19 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: domeceo | last post by:
can anyone tell me why I cannot pass values in a setTimeout function whenever I use this function it says "menu is undefined" after th alert. function imgOff(menu, num) { if (document.images) {...
58
by: jr | last post by:
Sorry for this very dumb question, but I've clearly got a long way to go! Can someone please help me pass an array into a function. Here's a starting point. void TheMainFunc() { // Body of...
1
by: Russell | last post by:
Hi there, I'm currently creating a .NET Web Application and I have a question about passing values from one screen to another. I previously used Session variables in the code to store these...
2
by: Jim Heavey | last post by:
I know that I can create session variables and pass those values from one screen to another, but is there not a way to makes variables from one scree n available to another screen other then...
1
by: Wes Hutton via .NET 247 | last post by:
I am trying to pass a data object (set or row) into a functionbyref, and have the same issue either way. In the maincontroller function, I have no issues accessing any parts of mydataset. If I...
11
by: John Pass | last post by:
Hi, In the attached example, I do understand that the references are not changed if an array is passed by Val. What I do not understand is the result of line 99 (If one can find this by line...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
7
by: teddarr | last post by:
I have an assignment I've been working on for a few days now. I need some help with the last detail. The program is supposed to create 5 objects with varying floating-point parameter lists. The...
2
by: TG | last post by:
Hi! Once again I have hit a brick wall here. I have a combobox in which the user types the server name and then clicks on button 'CONNECT' to populate the next combobox which contains all the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.