string zzj=ZZJ_text.Text;
string zzj1="'" + zzj + "'";
string updateText="总资金="+zzj1;
this.dataSet11.AcceptChanges();
string update="UPDATE  zjgl_table SET "+" "+updateText+"WHERE" +" " +"总资金="+zzj1;
this.sqlConnection1.Open();
this.sqlUpdateCommand1=new System.Data.SqlClient.SqlCommand(update,this.sqlConnection1);
this.sqlUpdateCommand1.ExecuteNonQuery();
this.sqlConnection1.Close();因为SQL2000内的数据库字段都是float类型的,但this.sqlUpdateCommand1=new System.Data.SqlClient.SqlCommand(update,this.sqlConnection1);中的Update是string的,无法修改数据库;各位大大有什么好办法吗?