MySQL基本语句和连接字符串
时间:2008-05-24 来源:sdccf
来源:网海拾贝 |
需要先下载mysqlnet.exe,安装后引用CoreLab.MySql.dll
insert into `mis`.`users` ( name, age) values ( "ywm", 13) select id, name, age from `mis`.`users` limit 0, 50 delete from `mis`.`users` where id > 8 update `mis`.`users` set name = "ywm1" where id = 13
MySqlConnection conn = new MySqlConnection("User Id=root;Password=sa;Host=localhost;Database=mis;"); |