原创 DropDownList 數據綁定
string strconn = System.Configuration.ConfigurationManager.AppSettings[
原创 Java中double類型計算不精確的解決辦法(BigDecimal)
2008-10-06 10:33 http://hi.baidu.com/jjcc2001/blog/item/ec32bbca48fac740f21fe79e.html 解決方法:寫一個Arith類: http://www.li
原创 數據庫更新
#region----將信息存入數據庫store the information to the SQL------- int u
原创 struts 使用通配符一個form表單裏實現2個action
<form action="addPaymentAction*" method="post" name="form" οnsubmit=" return validate();"> ............. <s:submi
原创 .net 後臺方法調用
protected void Button1_Click(object sender, EventArgs e) { .......................................................
原创 添加、查看、刪除外鍵
http://hi.baidu.com/shanghaocool/blog/item/1d014b0bf4afdc89d1581bbc.html 添加外鍵 alter table sitecodes drop foreign key FK
原创 synchronized
http://www.learndiary.com/2006/12/%E6%90%9E%E6%87%82java%E4%B8%AD%E7%9A%84synchronized%E5%85%B3%E9%94%AE%E5%AD%97/ 1、sy
原创 sql查詢時實現類型轉換(將字符串轉換爲日期)
Select sb_orders_product_name,sb_orders_product_description,sb_orders_qty,sb_orders_unit_price,sb_orde
原创 jTree打造硬盤文件目錄樹
http://canyue-2007.iteye.com/blog/691669
原创 java背景顏色交替顯示數據
官方文檔:http://struts.apache.org/2.0.11/docs/iterator.html <s:if test="CDRclientsList!=null">
原创 java js 根據下拉菜單選擇的值 控制另一控件的顯藏情況
<td><s:select name="disctype" list="#ad.discList" id="disctype" onchange="p_del()"
原创 java將"\"轉成"/"
String test=test.replace("\\", "/")
原创 以 rsync 進行同步鏡像備份
http://linux.vbird.org/linux_server/0310telnetssh.php#rsync
原创 .net JS獲取控件ID
前臺: <input name="lastname" id="lastname" type="text" style="width: 200px" /> <input name="txtTags" runat="ser
原创 java 數組迭代器(或者集合裏存放字符串,而不是bean)
http://www.mkyong.com/struts2/struts-2-iterator-tag-example/ public class T{ private ArrayList<String> urlArrList = new