burtons
February 5th, 2008, 04:09 PM
Hi every on,
I am new to C#/Asp.net, I have a question hope some one would answer it.
Let say, on pageA.aspx i will get query string value and I have to use this value on myClass.cs but application flow is like pageA.aspx-->pageB.aspx-->pageC.aspx-->myClass.cs. Do I need to pass query sting value on each page, I mean from pageA to pageB then pageC and then to myClass.cs. If yes the how can I pass query string value from pageC.aspx to myClass.cs.
OR
is there any other better way to get query string value direct in myClass.cs from pageA.aspx or from any other location.
I am not sure what would be the better way to perform this task.
I appreciate your help
thanks
I am new to C#/Asp.net, I have a question hope some one would answer it.
Let say, on pageA.aspx i will get query string value and I have to use this value on myClass.cs but application flow is like pageA.aspx-->pageB.aspx-->pageC.aspx-->myClass.cs. Do I need to pass query sting value on each page, I mean from pageA to pageB then pageC and then to myClass.cs. If yes the how can I pass query string value from pageC.aspx to myClass.cs.
OR
is there any other better way to get query string value direct in myClass.cs from pageA.aspx or from any other location.
I am not sure what would be the better way to perform this task.
I appreciate your help
thanks