• Status: Solved
  • Priority: Medium
  • Security: Private
  • Views: 33
  • Last Modified:

Inserting data using LINQ

I would like to know how can I use LINQ to insert data into a table.
I have built a registration form with lots of textboxes as input and I'd like to give a shot to use linq. I have no problem using stored proc in inserting records but I'd like to give LINQ a try
to see if it is better.

Please sshow code and example how is it done. Also what is the advantage if I switch to this method other than the stored procedure approach.
1 Solution
Monica PSoftware DeveloperCommented:

these are the two commands most needed for making  a insertion


Have a look on this tuorial for simple insert /update using Linq

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now