摘要:
SqlConnection con = new SqlConnection(@"Data Source=.\sqlexpress;Initial Catalog=Train;Integrated Security=True"); string sql = "select * from TrainInfo where trainNum='"+txtTrainNum.Te... 阅读全文
摘要:
--创建数据库 create database Train on primary ( name='Train_data', filename='D:\练习\TrainDB\Train_data.mdf' ) log on ( name='Train_log', filename='D:\练习\TrainDB\Train_log.ldf' ) go use Train go creat... 阅读全文