摘要: string a = TextBox1.Text;//不必担心注入脚本攻击string b = TextBox2.Text; System.Data.SqlClient.SqlConnection cnn = new System.Data.SqlClient.SqlConnection("连接字符串"); System.Data.SqlClient.SqlCommand cm = new System.Data.SqlClient.SqlCommand(); cm.Connection = cnn; cm.CommandText = "insert into t 阅读全文
posted @ 2011-10-16 14:30 【唐】三三 阅读(403) 评论(0) 推荐(0)