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

ASP.NET

 
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 
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 
Ok, reset time. Sorry for the confusion.

Here is what I wanted to do initially.

Have an employee row with no option to add more rows.

Then have sourcedetails rows that allows users to click to add more rows.

Then have spouse rows that allows users to click to add more rows.

So essentially, one employee to one or many sources/spouse details.

That was the original intent.

Then I tested for just employee only.

That employee code you see now with the #emptable and #empdata is for the following:

PHP
<table id="emptable">  
                <thead>  
                    <tr>  
                        <th>Employee Name</th>  
                        <th>Title</th>  
                        <th>Email</th>  
                    </tr>  
                </thead>  
                <tbody>  
                    <tr class="data-contact-person">  
                        <td>  
                            <input type="text" style="width:200px;" name="employeename" class="form-control employeename01" placeholder="Your name..." /></td>  
                        <td>  
                            <input type="text" style="width:200px;" name="employeetitle" class="form-control employeetitle01" placeholder="Your title..." /></td>  
                        <td>  
                            <input type="text" style="width:200px;" name="employeeemail" class="form-control employeeemail01" placeholder="Your email address..." /></td>  
                    </tr>  
                </tbody>  
            </table><br /><br />


So you can see from here that I removed the
PHP
Add More
button here. This way, employee can only be added once.

When I tested it, it inserted the records successfully.

Then I created one for sourcedetails and again it inserted successfully.

Finally, I created one for spousedetails and once again, it inserted into the database successfully.

Then I started to try to combine employee and sourcedetails.

If that worked, then i would have added SpouseDetails but it didn't work.

So, I started experimenting.

I think that's when the confusion came in.
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 
GeneralRe: Image not showing in vb.net Pin
Member 876166725-Feb-17 23:30
Member 876166725-Feb-17 23:30 
SuggestionRe: Image not showing in vb.net Pin
Richard Deeming26-Feb-17 5:40
mveRichard Deeming26-Feb-17 5:40 
GeneralRe: Image not showing in vb.net Pin
Member 876166726-Feb-17 6:05
Member 876166726-Feb-17 6:05 

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.