using(SqlCommand cmd1 = new SqlCommand("proc name", connection)) { cmd1.Paramaters.AddWithValue(...); // repeat as necesasry cmd1.ExecuteNonQuery(); int id = (int)cmd1.Paramters["output param name"].Value; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)