Click here to Skip to main content
15,896,316 members

Comments by Ciaran82 (Top 6 by date)

Ciaran82 4-Aug-15 9:32am View    
Yes I have it nearly working the problem was dbServer.Entry(issue).State = EntityState.Modified was incorrect but I changed it to issue.IssueTable but now I get the error "Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded"
Ciaran82 30-Jul-15 10:56am View    
I understand that thanks, but I am having a bit of trouble thinking of the logic to get my dropdownlist to work. I have multiple users who can have multiple projectTypes so I assume I need a many to many table to make this work how can I logically (I don't need the code) create a dropdownlist for User No1 who has ProjectType1 and ProjectType2?
Ciaran82 27-Jul-15 10:25am View    
Yes it have it done I just have it split up into parts for testing purposes, I just so not want the question to fill up with code than is not necessary but yet the password protection is done the way my employers want it to be done.
Ciaran82 27-Jul-15 10:23am View    
Yes the getUserID value was meant to be userID instead of username I fixed that (that wasn't the problem it was I forgot to change it back when I was trying something different). I am the password protection done the way my employers have it I just have not it in the question, the reason the cTable is fetching an empty string is because the value the session state is not bringing over the value I want correctly because I assume I am doing it incorrectly. I want the empty string to be equal to the variable id retrieved from the session state value.
Ciaran82 27-Jul-15 10:16am View    
I am not storing the passwords in plain text I just have not the code for the hashing involved in the question as it is irrelevant to this question and do not want to overload this question