Click here to Skip to main content
15,891,184 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionNew to ASP.NET, need help publishing Pin
kdgab2627-Jan-10 15:08
kdgab2627-Jan-10 15:08 
AnswerRe: New to ASP.NET, need help publishing Pin
N a v a n e e t h27-Jan-10 16:14
N a v a n e e t h27-Jan-10 16:14 
GeneralRe: New to ASP.NET, need help publishing Pin
kdgab2628-Jan-10 5:50
kdgab2628-Jan-10 5:50 
QuestionBizTalk Pin
indian14327-Jan-10 11:12
indian14327-Jan-10 11:12 
QuestionMasterpage + IFrame Pin
Hemant Thaker27-Jan-10 9:55
Hemant Thaker27-Jan-10 9:55 
AnswerRe: Masterpage + IFrame Pin
Dinesh Mani27-Jan-10 17:57
Dinesh Mani27-Jan-10 17:57 
GeneralRe: Masterpage + IFrame Pin
sweetypie.us27-Jul-10 12:12
sweetypie.us27-Jul-10 12:12 
QuestionConfused by the behaviour of static variable Pin
KittyKit27-Jan-10 9:53
KittyKit27-Jan-10 9:53 
Hello Guys

I've a datatable whose values need to be maintained across postbacks. (Just single page, not across multiple pages). This datatable is not read only. I mean to say some data can be changed based on user selection during partial postbacks and need to be maintained till the final submit. I declared the datatable as static and could retain the values across partial postbacks. But the problem is that I've always thought that in multiuser environment only one copy of the static variable is created and shared across the users. But my datatable behaves differently.

I opened the page in a browser and pressed Ctrl+N for new window. When I work on both windows, the datatable is not clashed. I mean - changes done in one window is not reflected in the other window. This is the behaviour I want exactly. One user's change should not affect other user. This is a reporting page and I store the user selections in the datatable before the final submit. Based on the options in the datatable, the report is created.

Though I achieve the desired functionality, I am worried whether what I am doing is right. Is it true that a static variable is shared acorss users or not??? Any inputs?
I am using VWD 2008 Express edition and c#.
Kit
AnswerRe: Confused by the behaviour of static variable Pin
Dinesh Mani27-Jan-10 17:51
Dinesh Mani27-Jan-10 17:51 
QuestionASP.NET CAC (SmartCard) Certificate Dialog Selection Pin
AngeloBestetti27-Jan-10 8:44
AngeloBestetti27-Jan-10 8:44 
AnswerRe: ASP.NET CAC (SmartCard) Certificate Dialog Selection Pin
PFucci17-Sep-11 15:28
PFucci17-Sep-11 15:28 
QuestionProblems while extending gridview [modified] Pin
dan!sh 27-Jan-10 4:19
professional dan!sh 27-Jan-10 4:19 
QuestionProgress bar , Help Needed Pin
Hema Bairavan27-Jan-10 3:28
Hema Bairavan27-Jan-10 3:28 
AnswerRe: Progress bar , Help Needed Pin
Not Active27-Jan-10 3:41
mentorNot Active27-Jan-10 3:41 
AnswerRe: Progress bar , Help Needed [modified] Pin
Prosanta Kundu online27-Jan-10 17:08
Prosanta Kundu online27-Jan-10 17:08 
GeneralRe: Progress bar , Help Needed Pin
Hema Bairavan27-Jan-10 17:46
Hema Bairavan27-Jan-10 17:46 
Questiondatalist events not firing Pin
praveenkumar_vittaboina27-Jan-10 3:10
praveenkumar_vittaboina27-Jan-10 3:10 
QuestionProgramatically creating dataset Pin
vineesh v27-Jan-10 1:36
vineesh v27-Jan-10 1:36 
AnswerRe: Programatically creating dataset Pin
Not Active27-Jan-10 2:01
mentorNot Active27-Jan-10 2:01 
Questiondropdown Pin
arkiboys27-Jan-10 0:27
arkiboys27-Jan-10 0:27 
GeneralRe: dropdown Pin
J a a n s27-Jan-10 1:07
professionalJ a a n s27-Jan-10 1:07 
GeneralRe: dropdown Pin
Shivendra Pandey27-Jan-10 1:08
Shivendra Pandey27-Jan-10 1:08 
GeneralRe: dropdown Pin
Not Active27-Jan-10 2:03
mentorNot Active27-Jan-10 2:03 
GeneralRe: dropdown Pin
arkiboys27-Jan-10 10:01
arkiboys27-Jan-10 10:01 
AnswerRe: dropdown Pin
DJ Matthews27-Jan-10 10:20
DJ Matthews27-Jan-10 10:20 

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.