I am trying to remove beginning and trailing spaces before my value is entered into the database. I tried the following but with no success and am struggling syntactically.
SqlHelper.ExecuteNonQuery(SqlHelper.Command("dbo.spMYPROC_Insert", SqlHelper.Parameter("@myParameter", e.Values("myParameter"), Trim(Data.SqlDbType.VarChar))))