数据库只要连接上了,基本上就可以一视同仁了!myConnection = new System.Data.SqlClient.SqlConnection
(System.Configuration.ConfigurationSettings.AppSettings["connectionstring"]);
myConnection.Open(); string delstr = "UPDATE A SET B=C" ;
+ "WHERE D = "
+ "'" + TextBox.Text + "'";
SqlCommand delcmd = new SqlCommand(delstr,myConnection);
int delrn = delcmd.ExecuteNonQuery();
(System.Configuration.ConfigurationSettings.AppSettings["connectionstring"]);
myConnection.Open(); string delstr = "UPDATE A SET B=C" ;
+ "WHERE D = "
+ "'" + TextBox.Text + "'";
SqlCommand delcmd = new SqlCommand(delstr,myConnection);
int delrn = delcmd.ExecuteNonQuery();
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货