在一个form1中修改另一个form2中的listview中的数据,修改的程序是这么写  对吗?
form1中有textBoxName,comboBoxTypestring type=this.comboBoxType.SelectedItem.ToString();
string sqlstr="update t_Class set ClassName='" +this.textBoxName.Text.Trim()+" ',ClassType='"+ type + " ' where ClassName="+this.textBoxName.Text;