Hello,
Here is the code to execute StoreProcedure,
SqlCommand command = new SqlCommand("dbo.SaveSQLComplexDBinfo", sqlConnection);
command.CommandType = System.Data.CommandType.StoredProcedure;
command.Parameters.Add("@SQLComplexDBID", SqlDbType.Int).Value = "96";
command.Parameters.Add("@SQLComplexDBID", SqlDbType.Int).Value = "SQLDA-CX02";
command.Parameters.Add("@ComplexName ", SqlDbType.Int).Value = "ATT25";
command.Parameters.Add("@DBName", SqlDbType.Int).Value = "ACTT";
int i = command.ExecuteNonQuery();