R
RichB
I have a strange null value, which is displayed in the screen print here:
http://devscreens.blogspot.com/
If you look at the variables in the bottom half of the screen, third line
down is the value of key ["@sch_id], which clearly has a value, whilst in
the row 2 rows below cr.Keys["sch_id"] it is reported as null.
Keys is a hashtable (perhaps with a confusing name in hindsight) which
contains the parameters as the Key, and coresponding values from a stored
procedure.
This works elsewhere in my code with other id fields retrieved from the
database, but before I go providing a whole lot of classes, can somone
explain why there might be a difference betweeen these two rows?
Many Thanks,
Richard
http://devscreens.blogspot.com/
If you look at the variables in the bottom half of the screen, third line
down is the value of key ["@sch_id], which clearly has a value, whilst in
the row 2 rows below cr.Keys["sch_id"] it is reported as null.
Keys is a hashtable (perhaps with a confusing name in hindsight) which
contains the parameters as the Key, and coresponding values from a stored
procedure.
This works elsewhere in my code with other id fields retrieved from the
database, but before I go providing a whole lot of classes, can somone
explain why there might be a difference betweeen these two rows?
Many Thanks,
Richard