P
postings
Hi
A quick question....
Please take a look at this piece of code:
-----------------------------------
Dim rowfind As Mydataset.mydatarow
rowfind = Mydataset1.mytable.FindBymytableid(x)
-----------------------------------
All well and good then, but what if I can't find the row in the table
with value x?
How do I test for this situation in vb.net?
"If rowfind.IsNull Then" .... do something - doesn't work.
I've tried other combinations. The only way I've managed to do it so
far is to catch an exception, which is hardly ideal. Does anybody have
any idea of the syntax using this example?
Many thanks!
Alex
A quick question....
Please take a look at this piece of code:
-----------------------------------
Dim rowfind As Mydataset.mydatarow
rowfind = Mydataset1.mytable.FindBymytableid(x)
-----------------------------------
All well and good then, but what if I can't find the row in the table
with value x?
How do I test for this situation in vb.net?
"If rowfind.IsNull Then" .... do something - doesn't work.
I've tried other combinations. The only way I've managed to do it so
far is to catch an exception, which is hardly ideal. Does anybody have
any idea of the syntax using this example?
Many thanks!
Alex