删除语句加上了   + "'"   有什么区别呢?
											这条删除语句:this.selectStr="delete from RoomType where RoomTypeName="+"'"+this.textTypeName.Text+"'";
改成:
this.selectStr="delete from RoomType where
RoomTypeName="+this.textTypeName.Text;
把 +"'" 删掉也是可以编译和运行的,含义无非就是RoomTypeName=this.textTypeName.Text时删除记录
为什么Demo上要加上两个"'"呢?含义是什么呢?



 
											






 
	    

 
	





