How to refer to a text in an Ms Access table?

Posted by manuel on Stack Overflow See other posts from Stack Overflow or by manuel
Published on 2010-04-19T04:21:07Z Indexed on 2010/04/19 4:23 UTC
Read the original article Hit count: 194

Filed under:
|
|

I want to refer to a data cell, which if it is equals to some string, it will do something. The codes:

If ds.Tables(0).Rows(i)("Status") = "Reserved" Then
MessageBox.Show("Can't reserve")
End If

Is this the correct way to do this? Because I failed doing so..

© Stack Overflow or respective owner

Related posts about oledb

Related posts about vb.net