I've been working with paramaterising my SQL statements lately, and have managed to do so for my INSERT, UPDATE and DELETE queries. However, I am struggling to do so with SELECT... Is anybody able to help me? I feel it's because I'm using OleDbDataAdapter, rather than OleDbCommand?
    Public Shared Function getPerson(ByVal personID As Integer, m_cn As OleDbConnection)
    Dim Dt As New DataTable
    Dim Da As New OleDbDataAdapter
    Da = New OleDbDataAdapter("SELECT * FROM tblPerson WHERE personID = " & personID, m_cn)
    Da.Fill(Dt)
    Return Dt
End Function