Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8999775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:13:29+00:00 2026-06-16T00:13:29+00:00

insert into table1 (Wicket, Run, Catch) values (Wicket + 2, Run + 22, Catch

  • 0
insert into table1 (Wicket, Run, Catch) 
values (Wicket + 2, Run + 22, Catch + 5)

This statement is used to insert data using a stored procedure.

How can I insert data same way without using stored procedure but using LinqToSql?

What will be code for it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:13:30+00:00Added an answer on June 16, 2026 at 12:13 am

    See MSDN: http://msdn.microsoft.com/en-us/library/bb386941.aspx

    // Create a new Order object.
    Order ord = new Order
    {
        OrderID = 12000,
        ShipCity = "Seattle",
        OrderDate = DateTime.Now
        // …
    };
    
    // Add the new object to the Orders collection.
    db.Orders.InsertOnSubmit(ord);
    
    // Submit the change to the database.
    try
    {
        db.SubmitChanges();
    }
    catch (Exception e)
    {
        Console.WriteLine(e);
        // Make some adjustments.
        // ...
        // Try again.
        db.SubmitChanges();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lets assume I have this long insert statement insert into table1 (id, name, phone,
Can I have a query like INSERT INTO Table1 VALUES (@val1, @val2, @val3); INSERT
Is something like this possible? INSERT INTO Table2 (val) VALUES ((INSERT INTO Table1 (name)
I have a procedure of mysql: START TRANSACTION; insert into table1(id, name) values(1, 'a');
I need to insert a data into a DB using query like this one:
I follow the syntax of INSERT INTO Table1 VALUES (value1, value2, value3…) This has
How can I insert into table1 like: INSERT INTO table1 (description) VALUES ('Some test
what is wrong with this query? INSERT INTO table1 VALUES id, pic0, pic1, pic2,
What is wrong with this? da.InsertCommand = New OleDb.OleDbCommand(Insert Into Table1 Values( 1, '
If I insert the following values into my table Insert into Table1 (Field1, Field2,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.