&的轉義字符是&
所以在xml文件中的數據庫連接可以寫成
<property name="JDBC.ConnectionURL" value="jdbc:mysql://localhost:3306/ibatis_schema?useUnicode=true&characterEncoding=UTF-8" />
&的轉義字符是&
所以在xml文件中的數據庫連接可以寫成
<property name="JDBC.ConnectionURL" value="jdbc:mysql://localhost:3306/ibatis_schema?useUnicode=true&characterEncoding=UTF-8" />
很簡單就是循環賦值,但有時候就是想不起來。 ArrayList myAl = new ArrayList(); foreach (DataRow dr in myDataSet.Tab