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<
SqlConnection<
using (var conn = new SqlConnection(yourConnectionString)) { var cmd = new SqlCommand("insert into Foo values (@bar)", conn); cmd.Parameters.AddWithValue("@bar", 17); conn.Open(); cmd.ExecuteNonQuery(); }