如題, 我想在 run-time 時改變 dataenvironment 中 connection object 的 connection string:
de1.connRadioation.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _         "Data Source=" & dbMain & ";" & _           "Persist Security Info=False"
不過之後所有 command 的 locktype 都變了 readonly, 就算是整個 table 開的 command 也是一樣, 請問有沒有辦法解救?
arrow
arrow
    全站熱搜

    vbqa 發表在 痞客邦 留言(1) 人氣()