Click here to Skip to main content
14,930,671 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionNew to ASP.NET, need help publishing Pin
kdgab2627-Jan-10 15:08
Memberkdgab2627-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
MemberN 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
Memberkdgab2628-Jan-10 5:50 
QuestionBizTalk Pin
indian14327-Jan-10 11:12
Memberindian14327-Jan-10 11:12 
QuestionMasterpage + IFrame Pin
Hemant Thaker27-Jan-10 9:55
MemberHemant Thaker27-Jan-10 9:55 
AnswerRe: Masterpage + IFrame Pin
Dinesh Mani27-Jan-10 17:57
MemberDinesh Mani27-Jan-10 17:57 
GeneralRe: Masterpage + IFrame Pin
sweetypie.us27-Jul-10 12:12
Membersweetypie.us27-Jul-10 12:12 
QuestionConfused by the behaviour of static variable Pin
KittyKit27-Jan-10 9:53
MemberKittyKit27-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
MemberDinesh Mani27-Jan-10 17:51 
QuestionASP.NET CAC (SmartCard) Certificate Dialog Selection Pin
AngeloBestetti27-Jan-10 8:44
MemberAngeloBestetti27-Jan-10 8:44 
AnswerRe: ASP.NET CAC (SmartCard) Certificate Dialog Selection Pin
PFucci17-Sep-11 15:28
MemberPFucci17-Sep-11 15:28 
QuestionProblems while extending gridview [modified] Pin
lw@zi 27-Jan-10 4:19
professional lw@zi 27-Jan-10 4:19 
QuestionProgress bar , Help Needed Pin
Hema Bairavan27-Jan-10 3:28
MemberHema 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
MemberProsanta Kundu online27-Jan-10 17:08 
GeneralRe: Progress bar , Help Needed Pin
Hema Bairavan27-Jan-10 17:46
MemberHema Bairavan27-Jan-10 17:46 
Questiondatalist events not firing Pin
praveenkumar_vittaboina27-Jan-10 3:10
Memberpraveenkumar_vittaboina27-Jan-10 3:10 
QuestionProgramatically creating dataset Pin
vineesh v27-Jan-10 1:36
Membervineesh 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
Memberarkiboys27-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
MemberShivendra 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
Memberarkiboys27-Jan-10 10:01 
AnswerRe: dropdown Pin
DJ Matthews27-Jan-10 10:20
MemberDJ 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.