Global web icon
stackoverflow.com
https://stackoverflow.com/questions/11030183/inser…
Insert data into SQL Server from C# code - Stack Overflow
I have a table student (id, name). Then I have one textbox, for entering the name, when click on submit button, it inserts the data into the database. So how can I insert only to name, not id becau...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/19956533/sql-i…
SQL Insert Query Using C# - Stack Overflow
I'm having an issue at the moment which I am trying to fix. I just tried to access a database and insert some values with the help of C# The things I tried (worked) String query = "INSERT INTO dbo.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/12241084/how-t…
c# - How to insert data into SQL Server - Stack Overflow
How to insert data into SQL Server Asked 13 years, 3 months ago Modified 4 years, 8 months ago Viewed 217k times
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/12939501/inser…
.net - Insert into C# with SQLCommand - Stack Overflow
This does not answer the question, which is "How do I insert into SQL using C#'s sqlcommand property (family)?". This should be a comment, at best.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/9075159/how-to…
How to insert a data table into SQL Server database table?
From my understanding of the question,this can use a fairly straight forward solution.Anyway below is the method i propose ,this method takes in a data table and then using SQL statements to insert into a table in the database.Please mind that my solution is using MySQLConnection and MySqlCommand replace it with SqlConnection and SqlCommand.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/2972974/how-sh…
c# - How should I multiple insert multiple records? - Stack Overflow
At the very least, parameterize 5-rows into one batch with the VALUES clause. Hell, even generating a batch with 5 inserts would be better than executing 5 separate INSERT statements.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/32000/c-sharp-…
sql - C# - SQLClient - Simplest INSERT - Stack Overflow
I'm basically trying to figure out the simplest way to perform your basic insert operation in C#.NET using the SqlClient namespace. I'm using SqlConnection for my db link, I've already had success
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/10680910/inser…
c# - Inserting a List<> into SQL Server table - Stack Overflow
I'm assuming you say SQL (structured query language) and you really mean Microsoft SQL Server (the actual database product) instead - right? You cannot insert a whole list as a whole into SQL Server - you need to insert one row for each entry.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/8218867/c-shar…
C# SQL insert command - Stack Overflow
In the first there's a round trip to the SQL server for each ExecuteNonQuery. But you should try the bulk insert command: BULK INSERT (Transact-SQL), I guess you'll get a better performance than any one of the options you provided.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/20759302/uploa…
c# - Upload CSV file to SQL server - Stack Overflow
What is the best way to upload a large csv data file into SQL server using C# ? The file contains about 30,000 rows and 25 columns.