TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rameez Javed
NA
395
60.6k
How to save table's multiple rows in database
Apr 3 2021 12:53 PM
Hi, I want to insert selected rows from table into database, It's asp.net core 3.1 application.
I'm my view I've populated table from excelsheet now I want to insert the tables data into database, I've a checkbox column to select specific record.
What I'm doing is creating JSON objects and inserting it in database, but issue is when i have large data the JSON object goes null in controller (I'm using ajax post method here). May be it is due to JSON object length size, below is the query I've made on stackoverflow.
Now I want to insert the selected bulk data in database, any efficient way to acheive this?
https://stackoverflow.com/questions/66924661/max-length-for-json-object-asp-net-core-3-1?noredirect=1#comment118304264_66924661
Thanks in advance.
Reply
Answers (
3
)
how can we one line loop use ?? example counter use 1 to .... how
How to add data into 2 different tables with EnityFramework