B
Barry
newbe to vs.net so please be gentle.
First question is what is the best method to access sql2K database, ADODB or
system.data.SqlClient.
Next
Using ADODB I can pass parameters to SQL stored procedures but have a
problem returning parameters for example:
..parameters(1).value="someparam1"
..parameters(2).value="someparam2"
..parameters(3).value="someparam3"
..execute
somevar = .parameters(4).value (this bieng the return param)
The return value is always null unless I first call another property of the
parameter e.g
szName = .parameters(4).name
somevar = .parameters(4).value (this will now succed)
Thanks in advance if anyone can advice on this.
First question is what is the best method to access sql2K database, ADODB or
system.data.SqlClient.
Next
Using ADODB I can pass parameters to SQL stored procedures but have a
problem returning parameters for example:
..parameters(1).value="someparam1"
..parameters(2).value="someparam2"
..parameters(3).value="someparam3"
..execute
somevar = .parameters(4).value (this bieng the return param)
The return value is always null unless I first call another property of the
parameter e.g
szName = .parameters(4).name
somevar = .parameters(4).value (this will now succed)
Thanks in advance if anyone can advice on this.