SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=DGM;User ID=sa"); con.Open(); SqlCommand cmd = new SqlCommand("C_Insert", con); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add("@C_price", SqlDbType.Money).Value = this.textBoxPrice.Text;