求一MSSQL数据库实例,100分相送最小的系统也可以要求有SQL脚本(可导入)和说明,急,我的MAIL:
[email protected],请注明mSSQL我晕,大家大气一点好不。我是学习,又不是用于商业,只要一个小例子而已也不是学生做毕业读者设计书,大家帮帮我吧(买书太贵)网上大把资料www.google.comPublic Cnn As ADODB.ConnectionPublic rs As ADODB.RecordsetSub main()On Error Resume NextSet Cnn = New ADODB.ConnectionSet rs = New ADODB.Recordset'Cnn.ConnectionString = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=Northwind;Data Source=SATO-ACCP08"'Cnn.ConnectionString = " Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Microsoft Visual Studio\VB98\NWIND.MDB;Persist Security Info=False"Cnn.OpenIf Cnn.State = adStateOpen Then MsgBox "DB成功!" Form1.Show rs.Open "Customers", Cnn, adOpenDynamic, adLockOptimistic, adCmdTableElse MsgBox "error!" EndEnd If呵呵。日本人哦,问题都被回答了。