|
| An Error (Editing Core Code) |
 |
Thu, 14 Sep 2006 14:18:04 +000 |
I added a new column to cs_UserProfile as XXX. I can update it without below
code:
---
user.PostRank = (byte[]) dr["PostRank"];
user.EnableDisplayInMemberList =
Convert.ToBoolean(dr["EnableDisplayInMemberList"]);
//TODO: ***CoreCodeIsEditedHere
user.XXX= dr["XXX"] asstring;
user.EnableOnlineStatus = Convert.ToBoolean(dr["EnableOnlineStatus"]);
user.EnablePrivateMessages =
Convert.ToBoolean(dr["EnablePrivateMessages"]);
---
When above edited section is uncommented, generates an error like this at
startup of debug:
---
An exception of type 'System.IndexOutOfRangeException' occurred in
System.Data.dll but was not handled in user code
Additional information: XXX
---
This is probably about a browse (get) stored procedure. Which SP do you
think?
|
| Post Reply
|
| Re: An Error (Editing Core Code) |
 |
Fri, 15 Sep 2006 07:07:05 +000 |
Found it, it's a view: cs_vw_Users_FullUser
|
| Post Reply
|
|
|
|
|
|
|
|
|
|