PaulK
Posts: 15
|
Posted: 12/09/2005, 1:02 PM |
|
--------------------------------------------------------------------------------
Hi, bit new to using codecharge studio with asp, however im trying to use the CCGetUserID function to get the id of the logged in user which will be used in an query and other forms. However when i try to set a variable for example
tempuserid = CCGetUserID();
i get an error when building the project which states the following:
"index.aspx.cs(384,69): error CS0103: The name 'CCGetUserID' does not exist in the class or namespace 'project3.index.indexPage"
Probly a simple solution or im being dumb :)
Any ideas how to solve this?
|
|
|
peterr
Posts: 5971
|
Posted: 12/10/2005, 11:41 AM |
|
CCGetUserID is an ASP function and doesn't exist in .NET.
I recommend that you search .NET forums for UserID: http://forums.codecharge.com/search.php?s_keyword=useri...m[]=8&s_period=
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
Benjamin Krajmalnik
|
Posted: 12/13/2005, 8:47 AM |
|
Paul,
There is no CCGetUSerID() in the .Net languages.
Instead, there is a function in the DBUtility class for this.
DBUtility.UserID
|
|
|
|