Using con As New SqlConnection(strConnect) con.Open() Using cmd As New SqlCommand("MyStoredProcedureName", con) cmd.CommandType = CommandType.StoredProcedure Dim read As SqlDataReader = cmd.ExecuteReader() ' Use the reader as normal. End Using End Using
</small>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)