Click here to Skip to main content
15,917,174 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Checkbox Value and DataGrid Pin
DeepToot27-Jun-06 10:44
DeepToot27-Jun-06 10:44 
QuestionAdding blank line to dataset in a NESTED datagrid (long) [modified] Pin
leckey27-Jun-06 9:24
leckey27-Jun-06 9:24 
AnswerRe: Adding blank line to dataset in a NESTED datagrid (long) Pin
eggsovereasy27-Jun-06 10:37
eggsovereasy27-Jun-06 10:37 
GeneralRe: Adding blank line to dataset in a NESTED datagrid (long) Pin
leckey27-Jun-06 10:39
leckey27-Jun-06 10:39 
Questionmenu bar in asp.net Pin
hbk_leo27-Jun-06 7:15
hbk_leo27-Jun-06 7:15 
AnswerRe: menu bar in asp.net Pin
Igor Vigdorchik27-Jun-06 10:04
Igor Vigdorchik27-Jun-06 10:04 
AnswerRe: menu bar in asp.net Pin
eggsovereasy27-Jun-06 10:34
eggsovereasy27-Jun-06 10:34 
QuestionHow to get session variable to work Pin
leckey27-Jun-06 6:24
leckey27-Jun-06 6:24 
I've read some previous posts but am a bit confused. (Imagine that...) I have a webpage in an asp.net application in which the user enters a part number in a textbox.
strPartNumberInputReference = txtPartNumberInput.Text;

What I want to do is make this a session variable so that other pages can access this number. Basically the second web page will load data based on that part number entered.

Where within the code do I do this? Do I just put it in the first page? Within which function? Can I just do Session ["ptNum"] = strPartNumberInputReference and use it in the other pages. (I assume not as this doesn't seem to be working.) If I do the session in a function, does it have to be a public function?

As always, big thanks.
AnswerRe: How to get session variable to work Pin
WebWeaver102127-Jun-06 6:59
WebWeaver102127-Jun-06 6:59 
AnswerRe: How to get session variable to work [modified] Pin
Elina Blank27-Jun-06 7:55
sitebuilderElina Blank27-Jun-06 7:55 
GeneralRe: How to get session variable to work Pin
leckey27-Jun-06 8:20
leckey27-Jun-06 8:20 
GeneralRe: How to get session variable to work Pin
Elina Blank27-Jun-06 8:26
sitebuilderElina Blank27-Jun-06 8:26 
GeneralRe: How to get session variable to work Pin
leckey27-Jun-06 8:55
leckey27-Jun-06 8:55 
GeneralRe: How to get session variable to work Pin
Elina Blank27-Jun-06 8:59
sitebuilderElina Blank27-Jun-06 8:59 
GeneralRe: How to get session variable to work Pin
leckey28-Jun-06 4:14
leckey28-Jun-06 4:14 
GeneralRe: How to get session variable to work Pin
Elina Blank28-Jun-06 4:46
sitebuilderElina Blank28-Jun-06 4:46 
GeneralRe: How to get session variable to work Pin
leckey28-Jun-06 5:23
leckey28-Jun-06 5:23 
GeneralRe: How to get session variable to work Pin
Elina Blank28-Jun-06 5:30
sitebuilderElina Blank28-Jun-06 5:30 
GeneralRe: How to get session variable to work Pin
leckey28-Jun-06 5:31
leckey28-Jun-06 5:31 
GeneralRe: How to get session variable to work Pin
Elina Blank28-Jun-06 5:35
sitebuilderElina Blank28-Jun-06 5:35 
GeneralRe: How to get session variable to work Pin
leckey28-Jun-06 5:55
leckey28-Jun-06 5:55 
GeneralRe: How to get session variable to work Pin
Elina Blank28-Jun-06 6:01
sitebuilderElina Blank28-Jun-06 6:01 
GeneralRe: How to get session variable to work Pin
Elina Blank28-Jun-06 5:31
sitebuilderElina Blank28-Jun-06 5:31 
GeneralRe: How to get session variable to work Pin
Guffa27-Jun-06 8:52
Guffa27-Jun-06 8:52 
GeneralRe: How to get session variable to work Pin
Elina Blank27-Jun-06 8:57
sitebuilderElina Blank27-Jun-06 8:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.