WHY does the .Net Documentation show http://msdn.microsoft.com/library/de...mberstopic.asp
.NET Framework Class Library
HttpSessionState
Public Properties
Item = = = Overloaded. Gets or sets individual session values.
In C#, this property is the indexer for the
HttpSessionState class.
THEN using the MSDE example walkthrough:
int intImageId = SSDAL.AddImage(strFileNameOnly,
txtImageDesc.Text,strServerPath, strThumbFile,
Convert.ToInt32(Session.Item(AppGlobals.sessKeyUse rId)),2, 3);
ERROR
'System.Web.SessionState.HttpSessionState' does not contain a definition for
'Item'
WHY
Why can't there be someone available to help resolve these conflicts - it
is VERY frustrating to try to use the Microsoft products - that don't work
according to the documentation - and no one available to help.....
AM I the only one frustrated with Microsoft documentation that is not
accurate - WHAT are we to do?
CAN anyone please help me understand what is wrong in Visual Studio .Net and
why their sample walkthrough's won't work ? 4 1884
That's because the Item property is the indexer of the class, exactly as it
shown in the doc :)
( http://msdn.microsoft.com/library/de...mberstopic.asp)
Usage is something like this:
System.Web.SessionState.HttpSessionState state;
state[1] = val;
--
Victor Hadianto http://www.synop.com/Products/SauceReader/
"PaulThomas" <Pa********@discussions.microsoft.com> wrote in message
news:C8**********************************@microsof t.com... WHY does the .Net Documentation show: http://msdn.microsoft.com/library/de...mberstopic.asp .NET Framework Class Library HttpSessionState Public Properties Item = = = Overloaded. Gets or sets individual session values. In C#, this property is the indexer for the HttpSessionState class. THEN using the MSDE example walkthrough: int intImageId = SSDAL.AddImage(strFileNameOnly, txtImageDesc.Text,strServerPath, strThumbFile, Convert.ToInt32(Session.Item(AppGlobals.sessKeyUse rId)),2, 3); ERROR 'System.Web.SessionState.HttpSessionState' does not contain a definition for 'Item' WHY Why can't there be someone available to help resolve these conflicts - it is VERY frustrating to try to use the Microsoft products - that don't work according to the documentation - and no one available to help..... AM I the only one frustrated with Microsoft documentation that is not accurate - WHAT are we to do?
CAN anyone please help me understand what is wrong in Visual Studio .Net and why their sample walkthrough's won't work ?
Thanks Victor,
The link you supplied takes me to the same documentation I am confused
about. The MSDE sample code is:
Convert.ToInt32(Session.Item(AppGlobals.sessKeyUse rId))
trying to get the UserID Key from the Application Globals
The link you supplied actually shows "sample code" for JScript - I wish
Microsoft would be so kind as to show sample code for each language like it
does for JScript - should we be using JScript - because it sure is difficult
to try to figure out exactly how to get anything done in C#. I still don't
see why the MSDE sample code does not work - and I still don't know how I
should code to retrieve the SessionUserIDKey. I have looked at other RAD
languages like Powerbuilder and Delphi and their documentation is very clear
- Microsoft documentation is very hard to understand (or is it just me).
Thanks for your reply.
"Victor Hadianto" wrote: That's because the Item property is the indexer of the class, exactly as it shown in the doc :) (http://msdn.microsoft.com/library/de...mberstopic.asp)
Usage is something like this:
System.Web.SessionState.HttpSessionState state; state[1] = val; -- Victor Hadianto http://www.synop.com/Products/SauceReader/
"PaulThomas" <Pa********@discussions.microsoft.com> wrote in message news:C8**********************************@microsof t.com... WHY does the .Net Documentation show: http://msdn.microsoft.com/library/de...mberstopic.asp .NET Framework Class Library HttpSessionState Public Properties Item = = = Overloaded. Gets or sets individual session values. In C#, this property is the indexer for the HttpSessionState class. THEN using the MSDE example walkthrough: int intImageId = SSDAL.AddImage(strFileNameOnly, txtImageDesc.Text,strServerPath, strThumbFile, Convert.ToInt32(Session.Item(AppGlobals.sessKeyUse rId)),2, 3); ERROR 'System.Web.SessionState.HttpSessionState' does not contain a definition for 'Item' WHY Why can't there be someone available to help resolve these conflicts - it is VERY frustrating to try to use the Microsoft products - that don't work according to the documentation - and no one available to help..... AM I the only one frustrated with Microsoft documentation that is not accurate - WHAT are we to do?
CAN anyone please help me understand what is wrong in Visual Studio .Net and why their sample walkthrough's won't work ?
I don't understand, the MSDN documentation usually provides sample for C#,
VB.Net, C++ and JScript. The link that I showed you actually gives you the
example in all four languages. Unless there is something that I miss here?
Regards,
--
Victor Hadianto http://www.synop.com/Products/SauceReader/
"PaulThomas" <Pa********@discussions.microsoft.com> wrote in message
news:D2**********************************@microsof t.com... Thanks Victor, The link you supplied takes me to the same documentation I am confused about. The MSDE sample code is: Convert.ToInt32(Session.Item(AppGlobals.sessKeyUse rId)) trying to get the UserID Key from the Application Globals The link you supplied actually shows "sample code" for JScript - I wish Microsoft would be so kind as to show sample code for each language like it does for JScript - should we be using JScript - because it sure is difficult to try to figure out exactly how to get anything done in C#. I still don't see why the MSDE sample code does not work - and I still don't know how I should code to retrieve the SessionUserIDKey. I have looked at other RAD languages like Powerbuilder and Delphi and their documentation is very clear - Microsoft documentation is very hard to understand (or is it just me). Thanks for your reply.
"Victor Hadianto" wrote:
That's because the Item property is the indexer of the class, exactly as it shown in the doc :) (http://msdn.microsoft.com/library/de...mberstopic.asp)
Usage is something like this:
System.Web.SessionState.HttpSessionState state; state[1] = val; -- Victor Hadianto http://www.synop.com/Products/SauceReader/
"PaulThomas" <Pa********@discussions.microsoft.com> wrote in message news:C8**********************************@microsof t.com... > WHY does the .Net Documentation show: > http://msdn.microsoft.com/library/de...mberstopic.asp > .NET Framework Class Library > HttpSessionState > Public Properties > Item = = = Overloaded. Gets or sets individual session values. > In C#, this property is the indexer for the > HttpSessionState class. > THEN using the MSDE example walkthrough: > int intImageId = SSDAL.AddImage(strFileNameOnly, > txtImageDesc.Text,strServerPath, strThumbFile, > Convert.ToInt32(Session.Item(AppGlobals.sessKeyUse rId)),2, 3); > ERROR > 'System.Web.SessionState.HttpSessionState' does not contain a > definition > for > 'Item' > WHY > Why can't there be someone available to help resolve these conflicts - > it > is VERY frustrating to try to use the Microsoft products - that don't > work > according to the documentation - and no one available to help..... > AM I the only one frustrated with Microsoft documentation that is not > accurate - WHAT are we to do? > > CAN anyone please help me understand what is wrong in Visual Studio > .Net > and > why their sample walkthrough's won't work ? >
Thank You,
I have been beating my head all day trying to get a better habdle on .Net -
it's very frustrating. I see MSDN sample walkthrough code like:
int groupId = int.Parse(cboImageGroups.SelectedValue);
cboImageGroups is a DropDownList in MyPics walkthrough - - and
SelectedValue is NOT valid... -so- I am just upset that they would show code
that does not work.
Thanks again,
Paul
"Victor Hadianto" wrote: I don't understand, the MSDN documentation usually provides sample for C#, VB.Net, C++ and JScript. The link that I showed you actually gives you the example in all four languages. Unless there is something that I miss here?
Regards, -- Victor Hadianto http://www.synop.com/Products/SauceReader/
"PaulThomas" <Pa********@discussions.microsoft.com> wrote in message news:D2**********************************@microsof t.com... Thanks Victor, The link you supplied takes me to the same documentation I am confused about. The MSDE sample code is: Convert.ToInt32(Session.Item(AppGlobals.sessKeyUse rId)) trying to get the UserID Key from the Application Globals The link you supplied actually shows "sample code" for JScript - I wish Microsoft would be so kind as to show sample code for each language like it does for JScript - should we be using JScript - because it sure is difficult to try to figure out exactly how to get anything done in C#. I still don't see why the MSDE sample code does not work - and I still don't know how I should code to retrieve the SessionUserIDKey. I have looked at other RAD languages like Powerbuilder and Delphi and their documentation is very clear - Microsoft documentation is very hard to understand (or is it just me). Thanks for your reply.
"Victor Hadianto" wrote:
That's because the Item property is the indexer of the class, exactly as it shown in the doc :) (http://msdn.microsoft.com/library/de...mberstopic.asp)
Usage is something like this:
System.Web.SessionState.HttpSessionState state; state[1] = val; -- Victor Hadianto http://www.synop.com/Products/SauceReader/
"PaulThomas" <Pa********@discussions.microsoft.com> wrote in message news:C8**********************************@microsof t.com... > WHY does the .Net Documentation show: > http://msdn.microsoft.com/library/de...mberstopic.asp > .NET Framework Class Library > HttpSessionState > Public Properties > Item = = = Overloaded. Gets or sets individual session values. > In C#, this property is the indexer for the > HttpSessionState class. > THEN using the MSDE example walkthrough: > int intImageId = SSDAL.AddImage(strFileNameOnly, > txtImageDesc.Text,strServerPath, strThumbFile, > Convert.ToInt32(Session.Item(AppGlobals.sessKeyUse rId)),2, 3); > ERROR > 'System.Web.SessionState.HttpSessionState' does not contain a > definition > for > 'Item' > WHY > Why can't there be someone available to help resolve these conflicts - > it > is VERY frustrating to try to use the Microsoft products - that don't > work > according to the documentation - and no one available to help..... > AM I the only one frustrated with Microsoft documentation that is not > accurate - WHAT are we to do? > > CAN anyone please help me understand what is wrong in Visual Studio > .Net > and > why their sample walkthrough's won't work ? > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: angelag |
last post by:
I am currently taking a college course in Visual Basic.Net and I am a
beginner.
I bought Visual Studio.Net 2003 to do my homework at home. I built my
first project and e-mailed it to myself at...
|
by: Oliver Brausch |
last post by:
Hello,
have you ever heard about this MS-visual c compiler bug?
look at the small prog:
static int x=0;
int bit32() {
return ++x;
}
|
by: fiona |
last post by:
Innovasys Ltd., a leader in help authoring and documentation tools,
today announced the inclusion of a tailored version of the Innovasys
HelpStudio help authoring product, HelpStudio Lite, in the...
|
by: innovasys |
last post by:
TORQUAY, DEVON, UK - Innovasys announced the release of Document! X
5, the fifth version of the documentation solution of choice for
developers using Microsoft Visual Studio or the .NET Framework....
|
by: kbutterly |
last post by:
Good morning all,
I have a weird problem with my VS 2005 Documentation. When I open the
help file through Start -Visual Studion 2005 ->Visual Studio 2005
Documentation, I get what appears to be...
|
by: cmay |
last post by:
I have been looking on and off for the past 6 months or so for some
kind of guidance for creating asp.net unit tests with Visual Studio
Team System, but I have yet to find anything significant.
...
|
by: Kuldeep |
last post by:
Framework: Visual Studio 2005
Technology: ASP.NET 2.0
Language: C#.NET 2.0
Hi All,
Could any one of you please let me know how to use NDoc in Visual Studio
2005.
If there is a source where...
|
by: Cramer |
last post by:
So, what is the relationship between Visual Studio and Visual Web Developer.
I find a lot of documentation on MSDN that presents Visual Web Developer as
it's own stand-alone product (which I'd...
|
by: Jeff |
last post by:
hi
I'm trying to install Visual Studio 2005 and get this error:
Visual Studio 2005 Professional - ENU Disk 1
This is an msdn version my boss downloaded from msdn. It contain 2 folders
"DISK1"...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |