S
shapper
Hello,
I have a 2 SQL procedures: the first one returns only a string. The
second one returns only a boolean value.
I created all my connection, parameters and command code.
What is the best way to read the returned string value, in first case,
or the returned boolean value, in second case?
My code is as follows:
1 ' Code that creates the connection, parameters, etc
2 ' ...
3
4 ' Execute the command
5 Dim value As DbDataReader = command.ExecuteReader()
6
7 ' ???? THE CODE I NEED TO KNOW
8
9 value.Close()
10 connection.Close()
Thanks,
Miguel
I have a 2 SQL procedures: the first one returns only a string. The
second one returns only a boolean value.
I created all my connection, parameters and command code.
What is the best way to read the returned string value, in first case,
or the returned boolean value, in second case?
My code is as follows:
1 ' Code that creates the connection, parameters, etc
2 ' ...
3
4 ' Execute the command
5 Dim value As DbDataReader = command.ExecuteReader()
6
7 ' ???? THE CODE I NEED TO KNOW
8
9 value.Close()
10 connection.Close()
Thanks,
Miguel