|
Subject:
|
Insert News UserId -1
|
|
Posted By:
|
seanmayhew
|
Post Date:
|
11/14/2004 10:59:37 AM
|
For some reason any time I insert a new news item its inserting -1 into the userID field. I've placed a temp label on the front page of news.aspx and set its text property to the (PhileIdentity)Context.User.Identity and its displaying the correct UserID in the label but Im getting that same -1 in the UserID field of the News_News table any ideas?
|
|
Reply By:
|
englere
|
Reply Date:
|
11/14/2004 7:57:55 PM
|
Put a breakpoint in the Submit_Click handler in SumitNews.aspx.cs (assuming C# version) and then step through the code to see what happens.
Eric
|