linq,创建数据库,插入数据,newDB.CreateDatabase();newDB.tb2.InsertOnSubmit(stu); newDB.SubmitChanges();...
usingSystem.Data.Linq;usingSystem.Data.Linq.Mapping;namespaceConsoleApplication1388{classProgram{staticvoidMain(string[]args){stringsourceString="Server=SMOOTHFU;Database=mydb2;IntegratedSecurity=SSPI