Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:744651
More Search Options
RSS Available
Matching Posts
Re: How to enable session in Class
[quote user="deenindia"]I need to assign Session value in my class variable. Eg: 1) in login.aspx,once the user is authorized, Session("xxxLoggedUser") = Textbox1.text ' logged user no in Class page Namespace myClass Public userLogged = Session("xxxLoggedUser") End Namespace 2) Quick Question: which one is best of using in webpage Session or Viewstate Any Idea?? Thanks[/quote] public string UploadedInvoiceIDs { set { Session["UploadedInvoiceIDs"] = value;
Posted to
State Management
(Forum)
by
sbadriprasad
on 11/16/2009
Re: New to sessions
[quote user="Kaoru"] How do I debug this? The page isn't even loading now (see new error below - OMG): Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration. I've set the enableSessionState="True"
Posted to
State Management
(Forum)
by
sbadriprasad
on 11/16/2009
Re: Retain user control gridview values after postback
[quote user="bagustri"] Yes I am. In my Page_Init I have an IsPostBack check. If it is not a postback, it will load my grid to a placeholder, load the values from the database, and save the placeholder to a session. If it is a postback, it will load the grid from the session into the placeholder. I believe this is the problem, as this grid contains the old values. Any advice? [/quote] If it is a post back you should not load hte grid from the session, by doing this you lose all the changes
Posted to
State Management
(Forum)
by
sbadriprasad
on 11/16/2009
Re: Session lost at the time of delete the file
You have to store the session in the database to avoid the session time out.(InProc mode)
Posted to
State Management
(Forum)
by
sbadriprasad
on 11/16/2009
Re: Unable to use session variables in my queries
in the select statement the where clause is not ended with ')' close the paranthesis..
Posted to
State Management
(Forum)
by
sbadriprasad
on 11/16/2009
LINQ to SQL in nTier Application
Hi, We are presently using the n Tier architecture in our applications, i.e. UI, BL, DAL (sql queries) and database. Now we are starting a new project and I have planned to work with the LINQ to SQL. Please guide me where should we introduce the LINQ to SQL whether in the DAL layer or directly into the BL and omitting the DAL layer. Please suggest me the best architecture for using the LINQ to SQL. And also I want to know whether the LINQ to SQL will slow down the system when compared with ADO.NET
Posted to
Architecture
(Forum)
by
sbadriprasad
on 9/23/2009
Re: Network access for Distributed Transaction Manager (MSDTC) has been disabled. Please enable DTC for network access in the security configuration for MSDTC using the Component Services Administrative tool.
[quote user="BrinkSr"] I had a very similar problem. I was adding several rows to different tables within a transaction using LINQ. Within the transaction scope I was calling a function which accessed the SQL server (not even the same database, but the same SQL server). When I attempted to execute the transaction I got the same error you are getting. I moved the code that accessed the database outside the transaction scope so that I retrieved the value to a local variable, and, voila!!
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
sbadriprasad
on 8/3/2009
Re: .NET and VSS
[quote user="chopps"]Hello, I have my web project all setup in VSS and able to check out, checkin perfectly. My next questions is this. How can I do a build from the Source Safe Server and take the compiled code and branch it to another folder so it can be versioned? I have seen some tools that do this like http://hipponet.sourceforge.net/ but not sure if this is wht i need or should do. Thoughts? Thanks for the help?[/quote] have you solved your problem if so please let us know...
Posted to
Visual Studio .NET 2003 and Visual Studio .NET 2002
(Forum)
by
sbadriprasad
on 7/13/2009
Re: Client Browser
[quote user="imran_amodi"] Hello Friends, Is there a way to find whether user(client machine) is using IE(any version) or not ? Thanks. [/quote] you may t using, Response.Write(Request.ServerVariables("HTTP_USER_AGENT")) some usful links, http://www.4guysfromrolla.com/articles/120402-1.aspx http://www.codeproject.com/KB/aspnet/RefreshModule.aspx http://www.google.co.in/search?hl=en&rlz=1T4HPNN_enIN322IN293&q=site%3Aforums.asp.net+asp.net+identify+the+ie+browser&meta
Posted to
Web Forms
(Forum)
by
sbadriprasad
on 7/1/2009
Re: When user logs in a particular logo displayed
[quote user="phelps"]Thanks For Reply .....But i got my answer .........Before ur post.....[/quote] if you got the answer then please post the answer and that will help many(like me)
Posted to
Web Forms
(Forum)
by
sbadriprasad
on 6/22/2009
Page 1 of 21 (202 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online