Click here to Skip to main content
11,414,619 members (66,273 online)
   

ASP.NET

 
GeneralRe: How to add anchor tag in uploded html page Pin
n.podbielski22-Dec-12 22:57
membern.podbielski22-Dec-12 22:57 
GeneralRe: How to add anchor tag in uploded html page Pin
n.podbielski22-Dec-12 22:57
membern.podbielski22-Dec-12 22:57 
Questionjquery for asp.net sometimes work sometimes doesn't work [modified] Pin
Dhyanga19-Dec-12 12:57
memberDhyanga19-Dec-12 12:57 
AnswerRe: jquery for asp.net sometimes work sometimes doesn't work Pin
jkirkerx19-Dec-12 18:25
memberjkirkerx19-Dec-12 18:25 
GeneralRe: jquery for asp.net sometimes work sometimes doesn't work Pin
Dhyanga19-Dec-12 18:50
memberDhyanga19-Dec-12 18:50 
AnswerRe: jquery for asp.net sometimes work sometimes doesn't work Pin
jkirkerx19-Dec-12 19:09
memberjkirkerx19-Dec-12 19:09 
QuestionOnly 1 use for admin? Pin
xnaLearner19-Dec-12 2:28
memberxnaLearner19-Dec-12 2:28 
QuestionHave userID in view, need userName posted Pin
xnaLearner19-Dec-12 1:41
memberxnaLearner19-Dec-12 1:41 
AnswerRe: Have userID in view, need userName posted Pin
Matt U.19-Dec-12 5:11
memberMatt U.19-Dec-12 5:11 
AnswerRe: Have userID in view, need userName posted [modified] Pin
CommDev20-Dec-12 23:55
memberCommDev20-Dec-12 23:55 
QuestionUnable to start program http://localhost:1837/default.aspx using VS 2008 in Windows XP IE 8 Pin
sr15919-Dec-12 1:08
membersr15919-Dec-12 1:08 
QuestionHow to access 'name' given when user registers Pin
xnaLearner18-Dec-12 23:52
memberxnaLearner18-Dec-12 23:52 
AnswerRe: How to access 'name' given when user registers Pin
xnaLearner18-Dec-12 23:58
memberxnaLearner18-Dec-12 23:58 
Questionsequence contains no elements Pin
xnaLearner18-Dec-12 3:44
memberxnaLearner18-Dec-12 3:44 
So a drop down is used to select the users name, then click 'view' and it will display all the holidays this user has previously booked.

From here the user can click 'create new' which will bring them to a create new page. Instead of having to re-select their name from another drop down i carried across the currentuserID and replaced the second drop down with the users ID.

Everything was working fine with 2 separate drop downs, the user could book holidays etc... However now (after I changed the second drop down to hold the ID value) I am getting an error from my listHoliday Method in my controller:

Error: InvalidOperationException was unhandled by the user code Sequence contains no elements

var dbPerson1 = (from p in db.People
where p.Id == PersonId
select p).Single();
Could anyone advise what to do? Im lost thanks for any replies.
AnswerRe: sequence contains no elements Pin
Matt U.18-Dec-12 8:23
memberMatt U.18-Dec-12 8:23 
GeneralRe: sequence contains no elements Pin
xnaLearner19-Dec-12 0:00
memberxnaLearner19-Dec-12 0:00 
GeneralRe: sequence contains no elements Pin
Matt U.19-Dec-12 2:47
memberMatt U.19-Dec-12 2:47 
Question[session] returns null Pin
xnaLearner18-Dec-12 0:20
memberxnaLearner18-Dec-12 0:20 
AnswerRe: [session] returns null Pin
Rahul Rajat Singh18-Dec-12 0:47
memberRahul Rajat Singh18-Dec-12 0:47 
GeneralRe: [session] returns null Pin
xnaLearner18-Dec-12 1:10
memberxnaLearner18-Dec-12 1:10 
GeneralRe: [session] returns null Pin
xnaLearner18-Dec-12 1:12
memberxnaLearner18-Dec-12 1:12 
SuggestionRe: [session] returns null Pin
Chandrabhan Sangale18-Dec-12 18:59
memberChandrabhan Sangale18-Dec-12 18:59 
QuestionMultilingual support for Web Application Pin
AB777118-Dec-12 0:18
memberAB777118-Dec-12 0:18 
AnswerRe: Multilingual support for Web Application Pin
Rahul Rajat Singh18-Dec-12 0:43
memberRahul Rajat Singh18-Dec-12 0:43 
GeneralRe: Multilingual support for Web Application Pin
AB777118-Dec-12 3:27
memberAB777118-Dec-12 3:27 
AnswerRe: Multilingual support for Web Application Pin
deflinek18-Dec-12 0:57
memberdeflinek18-Dec-12 0:57 
SuggestionRe: Multilingual support for Web Application Pin
Chandrabhan Sangale18-Dec-12 19:01
memberChandrabhan Sangale18-Dec-12 19:01 
Questiongoogle map Pin
cdpsource17-Dec-12 21:52
membercdpsource17-Dec-12 21:52 
AnswerRe: google map Pin
ryanb3118-Dec-12 5:55
memberryanb3118-Dec-12 5:55 
QuestionProblem to send message from MSMQ Pin
TRAORE cheickna17-Dec-12 11:20
memberTRAORE cheickna17-Dec-12 11:20 
Questionexport report failed in crystal report Pin
himadribanik17-Dec-12 7:51
memberhimadribanik17-Dec-12 7:51 
QuestionRefresh particular parts on masterpage Pin
cdpsource17-Dec-12 6:58
membercdpsource17-Dec-12 6:58 
AnswerRe: Refresh particular parts on masterpage Pin
Matt U.17-Dec-12 7:51
memberMatt U.17-Dec-12 7:51 
GeneralRe: Refresh particular parts on masterpage Pin
cdpsource17-Dec-12 7:59
membercdpsource17-Dec-12 7:59 
GeneralRe: Refresh particular parts on masterpage Pin
Matt U.17-Dec-12 8:06
memberMatt U.17-Dec-12 8:06 
GeneralRe: Refresh particular parts on masterpage Pin
cdpsource17-Dec-12 9:23
membercdpsource17-Dec-12 9:23 
SuggestionRe: Refresh particular parts on masterpage Pin
Chandrabhan Sangale18-Dec-12 19:04
memberChandrabhan Sangale18-Dec-12 19:04 
Questionsession variable / temp data Pin
xnaLearner17-Dec-12 5:25
memberxnaLearner17-Dec-12 5:25 
QuestionSalable Comet (server hang while more user) Pin
vaibhav.baldha17-Dec-12 4:47
membervaibhav.baldha17-Dec-12 4:47 
AnswerRe: Salable Comet (server hang while more user) Pin
Chandrabhan Sangale18-Dec-12 18:49
memberChandrabhan Sangale18-Dec-12 18:49 
QuestionThe underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Pin
kapil sharma 4917-Dec-12 3:02
memberkapil sharma 4917-Dec-12 3:02 
AnswerRe: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Pin
ryanb3118-Dec-12 5:58
memberryanb3118-Dec-12 5:58 
QuestionCan only book for yourself and not other users? Pin
xnaLearner17-Dec-12 2:29
memberxnaLearner17-Dec-12 2:29 
QuestionRe: Can only book for yourself and not other users? Pin
Zaf Khan19-Dec-12 6:49
memberZaf Khan19-Dec-12 6:49 
QuestionEval + onclientClick Gridview Error [modified] Pin
jojoba201116-Dec-12 21:38
memberjojoba201116-Dec-12 21:38 
QuestionRe: Eval + onclientClick Gridview Error Pin
ryanb3118-Dec-12 5:59
memberryanb3118-Dec-12 5:59 
QuestionSound transmission Pin
leone16-Dec-12 6:16
memberleone16-Dec-12 6:16 
QuestionRe: Sound transmission Pin
ryanb3118-Dec-12 6:00
memberryanb3118-Dec-12 6:00 
AnswerRe: Sound transmission Pin
leone19-Dec-12 0:22
memberleone19-Dec-12 0:22 
GeneralRe: Sound transmission Pin
ryanb3119-Dec-12 2:38
memberryanb3119-Dec-12 2:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150427.4 | Last Updated 27 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid