2014-03-28 21 views

回答

0

首先你必須連接到Db,我認爲你是。然後做的方法是這樣說:

Dim student as string = txt.text 
    Dim cmd = New OleDbCommand("Insert INTO Student ([First Name]) VALUES "(student)" 
    cmd.ExecuteNonQuery() 

應該工作,否則你必須手動添加參數

相關問題