各位,我来了.
最近反馈的意见中,有很多人都说系统无法运行,请使用前先看好系统的要求!~
不然无法使用是必然的现象!~
爱上思考,爱上编程,爱上.net!
斑竹帮忙看下 那错了吧 谢谢了 偶是新手弄不清楚
Public Function excutesql(ByVal sql As String, ByVal table As String)
Try
adocmd = New OleDbDataAdapter(sql, "provider=SQLOLEDB; data source=(local) data base=C:\Program Files\Microsoft SQL Server\MSSQL\Data\0501127.mdf")
adocmd.Fill(ds, table)
mytable = ds.Tables.Item(0)
rownumber = 0
myrow = mytable.Rows.Item(rownumber)
Catch ex As Exception
MsgBox(Err.Description)
End Try
End Function