Click here to Skip to main content
15,888,020 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Error Inserting data - into the database. Pin
F-ES Sitecore7-Mar-17 0:52
professionalF-ES Sitecore7-Mar-17 0:52 
GeneralRe: Error Inserting data - into the database. Pin
samflex8-Mar-17 5:03
samflex8-Mar-17 5:03 
GeneralRe: Error Inserting data - into the database. Pin
F-ES Sitecore8-Mar-17 5:44
professionalF-ES Sitecore8-Mar-17 5:44 
GeneralRe: Error Inserting data - into the database. Pin
samflex8-Mar-17 6:09
samflex8-Mar-17 6:09 
GeneralRe: Error Inserting data - into the database. Pin
F-ES Sitecore8-Mar-17 22:16
professionalF-ES Sitecore8-Mar-17 22:16 
GeneralRe: Error Inserting data - into the database. Pin
Richard Deeming8-Mar-17 7:58
mveRichard Deeming8-Mar-17 7:58 
GeneralRe: Error Inserting data - into the database. Pin
samflex8-Mar-17 8:40
samflex8-Mar-17 8:40 
GeneralRe: Error Inserting data - into the database. Pin
Richard Deeming8-Mar-17 8:50
mveRichard Deeming8-Mar-17 8:50 
samflex wrote:
No, that is not a typo.

Then there's a fundamental problem with your code. $('.data-contact-person') is not going to match a row with the class set to data-contact-personm - the trailing "m" makes it a completely different class name.


samflex wrote:
As for the stored proc, I have it declared correctly.

As I said, if you pass a value of Nothing to a parameter without a default value, you'll get the exception.

Your parameters do not have default values. Therefore, if any property on your Employee class is Nothing, you'll get this error.

Also, it's not clear what you're trying to achieve. You have multiple employee rows, and multiple source rows, but there is no connection between the two.

You could have three employees and one source - what values are you going to post for the seconds and third employees?

Conversely, you could have three source rows and no employee rows, which would give you no parent record for the SourceDetails rows.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Error Inserting data - into the database. Pin
samflex8-Mar-17 8:55
samflex8-Mar-17 8:55 
GeneralRe: Error Inserting data - into the database. Pin
Richard Deeming8-Mar-17 9:09
mveRichard Deeming8-Mar-17 9:09 
GeneralRe: Error Inserting data - into the database. Pin
samflex8-Mar-17 9:19
samflex8-Mar-17 9:19 
Questioninput string was not in a correct format published site error when recycle working properly Pin
Praveen Kandari3-Mar-17 23:31
Praveen Kandari3-Mar-17 23:31 
AnswerRe: input string was not in a correct format published site error when recycle working properly Pin
Richard MacCutchan3-Mar-17 23:37
mveRichard MacCutchan3-Mar-17 23:37 
GeneralRe: input string was not in a correct format published site error when recycle working properly Pin
Praveen Kandari3-Mar-17 23:39
Praveen Kandari3-Mar-17 23:39 
GeneralRe: input string was not in a correct format published site error when recycle working properly Pin
EcareTechnologies8-Mar-17 20:11
EcareTechnologies8-Mar-17 20:11 
QuestionHow to remove marshaling errors for COM-interop or PInvoke Pin
Member 30804702-Mar-17 23:39
Member 30804702-Mar-17 23:39 
AnswerRe: How to remove marshaling errors for COM-interop or PInvoke Pin
Richard MacCutchan3-Mar-17 1:05
mveRichard MacCutchan3-Mar-17 1:05 
QuestionASP.net ajax image upload Pin
Member 130057291-Mar-17 6:15
Member 130057291-Mar-17 6:15 
AnswerRe: ASP.net ajax image upload Pin
F-ES Sitecore1-Mar-17 23:00
professionalF-ES Sitecore1-Mar-17 23:00 
QuestionHow to avoid kill or wait alert? Pin
Member 1028105628-Feb-17 18:24
Member 1028105628-Feb-17 18:24 
AnswerRe: How to avoid kill or wait alert? Pin
Nathan Minier1-Mar-17 1:11
professionalNathan Minier1-Mar-17 1:11 
AnswerRe: How to avoid kill or wait alert? Pin
F-ES Sitecore1-Mar-17 4:13
professionalF-ES Sitecore1-Mar-17 4:13 
AnswerRe: How to avoid kill or wait alert? Pin
ZurdoDev1-Mar-17 5:18
professionalZurdoDev1-Mar-17 5:18 
QuestionImage not showing in vb.net Pin
Member 876166725-Feb-17 10:51
Member 876166725-Feb-17 10:51 
SuggestionRe: Image not showing in vb.net Pin
Richard MacCutchan25-Feb-17 20:42
mveRichard MacCutchan25-Feb-17 20:42 

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

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