读书人

生手啦.1分

发布时间: 2011-12-22 23:36:25 作者: rapoo

新手啦.1分
假如我要新增
SqlCommand cmd=new SqlCommand( "里什么? ",con);

[解决办法]
sql语句
[解决办法]
sql语句
[解决办法]
把你要执行的SQL语句写进去就可以了。
[解决办法]
SqlCommand cmd=new SqlCommand( "insert into users(id,name) values(1, 'name ') ",con);

读书人网 >C#

热点推荐