Order Detail using AngularJS

72 views
Skip to first unread message

sumit prakash sharma

unread,
Sep 27, 2015, 6:09:12 AM9/27/15
to AngularJS
Good Evening !

Please guide me how can i achieve master detail insertion (ie. insertion in Order and OrderDetail tables simultaneously) using AngularJs in a SPA (single page application) using asp.net c#.


Sander Elias

unread,
Oct 1, 2015, 9:54:04 AM10/1/15
to AngularJS
Hi Sumit,

Write up a from, that can host both the master, and the details, and use $http to post it to your server.

Regards
Sander

Sumit Prakash Sharma

unread,
Oct 2, 2015, 2:18:38 AM10/2/15
to ang...@googlegroups.com
Thank you sir

I have created a form with master detail sections, i have also prepared json with master detail format, but i don't know how to handle that json on server to save the records in both primary and foreign key table. First off all we insert data in master table where an auto id will be generated and then by using that auto id i want to save records in detail table

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/zV9mX4nFbBI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.



--
 
 
Thanks and Regards
 
Sumit Prakash Sharma
Sr. Officer (IT)
Bansal Classes Private Limited,
A-10, Gaurav Tower, Road No.1, IPIA Kota (Rajasthan)
Contact No: 08824846243 (RAJ), 09630015656 (MP)
Office Tel No: 0744-2423738/39/2421097/2424097  |  Fax: 0744-2436779
The best revenge is massive success.
 
Blog   IIT JEE Coaching
Personal Contact Info : 08824846243 (RJ) | 09630015656 (MP)
 
DISCLAIMER: This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.

Sander Elias

unread,
Oct 2, 2015, 4:37:29 AM10/2/15
to AngularJS
Hi Summit,

So you don't know how to split and handle the json data on your server? That has nothing to do with angular right?

Regards
Sander

Sumit Prakash Sharma

unread,
Oct 5, 2015, 2:47:55 AM10/5/15
to ang...@googlegroups.com
Thank u sir

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/zV9mX4nFbBI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages