求助
怎样将在c#中编辑的数据存入到数据库中? --------------------编程问答-------------------- http://topic.csdn.net/u/20110414/10/06526263-9e0d-491f-b963-7ae0afd1f7e4.html --------------------编程问答-------------------- 再哪里编辑的数据?插入数据库代码:http://topic.csdn.net/t/20051123/21/4413952.html --------------------编程问答-------------------- 问题没有叙述清楚 --------------------编程问答-------------------- string a="";//定义变量
SqlConnection con = new SqlConnection( "server=192.168.1.1;pwd=123;uid=SA;database=aaa");//设置链接数据库
SqlCommand com = new SqlCommand("insert into table line values ('"+a+"')",con);
con.Open();
com1.Execute();
补充:.NET技术 , C#