M
martin
Hi,
I have blob field in my database.
I am retrieveing the field through a stored procedure and the execute scalar
method.
I would like to cast resulting "byte" field to a string.
I am using the syntax
strDesciption = CType(objCMD.ExecuteScalar(), String)
as I have been reliable informed the C# sytax
string value = (string)command.ExecuteScalar();
works fine.
Have a got this translation wrong?? or is it not possible to do this in
vb.net
anyadvice is appreciated.
cheers
martin.
I have blob field in my database.
I am retrieveing the field through a stored procedure and the execute scalar
method.
I would like to cast resulting "byte" field to a string.
I am using the syntax
strDesciption = CType(objCMD.ExecuteScalar(), String)
as I have been reliable informed the C# sytax
string value = (string)command.ExecuteScalar();
works fine.
Have a got this translation wrong?? or is it not possible to do this in
vb.net
anyadvice is appreciated.
cheers
martin.