Dim connectionString As String = ConfigurationUtil.ConnectionStrings("xxxx").ConnectionString Dim dr As SqlDataReader Dim a As AAAA Try Using cn As New SqlConnection(connectionString) Using cm As New SqlCommand cm.Connection = cn cn.Open() cm.CommandType = CommandType.StoredProcedure cm.CommandText = "qf.AAAAGet" cm.Parameters.Add(New SqlParameter("@AAAAId", aaaaId)) Dim prmRV As New SqlParameter("@ReturnValue", SqlDbType.Int) prmRV.Direction = ParameterDirection.ReturnValue cm.Parameters.Add(prmRV)
dr = cm.ExecuteReader(CommandBehavior.SingleRow)
--
You received this message because you are subscribed to a topic in the Google Groups "AutoMapper-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automapper-users/jznit1na75U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automapper-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.