Time of Update: 2018-12-07
二維數組轉datatable的代碼 轉自http://access911.net/ocr/doc1.asp?mode=a&bid=005201&aid=5226970這樣更簡潔:string[,] b = new string[2,3] {{"11", "12", "13"}, {"21", "22", "23"}};DataTable dt = new DataTable();DataRow dr ;for (int i = 0; i < b.GetLength(1);
Time of Update: 2018-12-07
昨天實驗Windows 2003
Time of Update: 2018-12-07
CentOS_IP地址配置1、CentOS系統 修改DNS修改對應網卡的DNS的設定檔# vi /etc/resolv.conf 修改以下內容nameserver 8.8.8.8 #google網域名稱伺服器nameserver 8.8.4.4 #google網域名稱伺服器2、CentOS系統修改網關修改對應網卡的網關的設定檔[root@centos]# vi
Time of Update: 2018-12-07
jquery table 的添加和刪除<script language="javascript" src="./jquery.js"></script><table border="1px #ooo" id="test" name="test" class="test" cellpadding="0" cellspacing="0" width="20%"><tr id="1"><td width="30%">1</td>&
Time of Update: 2018-12-07
//刪除 protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e) { string sqlstr = "delete from 表 where id='" + GridView1.DataKeys[e.RowIndex].Value.ToString() + "'"; sqlcon = new SqlConnection(strCon);
Time of Update: 2018-12-07
一、安裝和過往的版本類似1 sudo apt-get install fcitx //安裝fcitx2 sudo apt-get install fcitx-table-wbpy //安裝五筆拼音混合輸入的庫表3 sudo apt-get install fcitx-table-wubi //安裝單獨的五筆庫表4sudo fcitx-config-gtk //運行圖形化配置介面,不能用su 並配置預設IME為fcitx :1im-switch -s fcitx
Time of Update: 2018-12-07
DataSet,DataTable複製 DataTable sourceTable;DataTable objectTable;DatatDataRow sourceRow;DatatDataRow objectRow;DataRow tempRow;DataSet souceDataSet = new DataSet();複製DataSetDataSet object = souceDataSet.Copy();//深複製DataSet object =
Time of Update: 2018-12-07
lazy load AR
Time of Update: 2018-12-07
摘自: http://forum.castleproject.org/viewtopic.php?t=52Hi, I got somewhat the same problem. I need to run T-SQL commands, as we are new to ActiveRecord and NHibernate, and would like a quick "workaround" when we can't find our ways I refered to http://
Time of Update: 2018-12-07
文章目錄 概述 傳回值:jQuerylive(type, [data], fn)概述jQuery 給所有匹配的元素附加一個事件處理函數,即使這個元素是以後再添加進來的也有效。這個方法是基本是的 .bind() 方法的一個變體。使用 .bind() 時,選取器匹配的元素會附加一個事件處理函數,而以後再添加的元素則不會有。為此需要再使用一次 .bind() 才行。比如說<body> <div class="clickme"&
Time of Update: 2018-12-07
本人路由器不才,長時間使用ubuntu後會發生一奇怪現象,只能訪問部份網站,比如baidu可以訪問,但google只能ping得通但無限timeout,google後發現,只需修改/etc/sysctl.conf 添加net.ipv4.tcp_window_scaling=0net.ipv4.tcp_wmem = 4096 16384 131072net.ipv4.tcp_rmem = 4096 87380 174760net.ipv4.tcp_timestamps = 0再輸入 sysctl
Time of Update: 2018-12-07
CentOSIP地址設定BROADCAST=192.168.0.255 #對應的子網廣播位址HWADDR=00:07:E9:05:E8:B4 #對應的網卡物理地址IPADDR=12.168.1.2 #如果設定網卡獲得 ip地址的方式為靜態指定,此欄位就指定了網卡對應的ip地址IPV6INIT=noIPV6_AUTOCONF=noNETMASK=255.255.255.0 #網卡對應的網路遮罩NETWORK=192.168.1.0
Time of Update: 2018-12-07
1.表名稱:Tab
Time of Update: 2018-12-07
DNN模組一般情況不能作為一個獨立的系統,但模組開發卻要求模組之間低藕合,像HTML模組還行,但稍微複雜點的模組,比如新聞系統(二十四畫生的永日新聞系統),它就為了實現各功能,設了很多模組,但實際上在 DesktopModules 卻只有一個檔案夾YongRi -
Time of Update: 2018-12-07
當一個對象的對象屬性經ObjectDataSource綁定到GridView時,在他進行CRUD操作時就會變成空或new出來的新對象。因此在作Crud操作時需要將它重新賦值。我首先在ObjectDataSource1_Updating1中賦值,但系統提示InputParameters唯讀不能賦值,後來我在GridView1_RowUpdating中賦值。終於成功。 protected void ObjectDataSource1_Updating1(object sender, O
Time of Update: 2018-12-07
今天在軟體實施的過程中碰到一個問題:ScriptX,smsx列印控制項無法列印,也無法安裝。後來發現是最佳化大師或者360把它給禁止了,從而導致這個外掛程式無法載入,進而無法列印。 現總結解決方案如下: 1、 解壓smsx.cab控制項安裝包,開啟檔案scriptx.inf 2、找到MCScript.dll的clsid 為{1663ed61-23eb-11d2-b92f-008048fdd814}
Time of Update: 2018-12-07
http://www.linuxidc.com/Linux/2012-07/64911.htm Chromium 瀏覽器是Google瀏覽器的開源版本,可以說Google瀏覽器就是基於 Chromium 。該瀏覽器已經升級到版本21,原來的 Chromium 每日建立版 ppa 升級到版本 18 就已經停止了更新。國外Tobias Wolf 建立了一個新的 ppa 為Ubuntu 12.04 Precise 提供最新發行版本。PPA地址:ppa:chromium-daily/ppaUbuntu
Time of Update: 2018-12-07
、下載 Subversion 地址:http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91在本執行個體中,選擇下載svn-win32-1.4.6.zip此版本.2、雙擊安裝Subversion(預設安裝,在安裝過程中點擊【下一步】即可。3、subversion安裝完成後,在C:\Program Files\CollabNet Subversion
Time of Update: 2018-12-07
關於webform_postbackoptions未定義的錯誤 <blowery.web> <!-- Here's an example on how to change the algorithm or compression level <compressionModule preferredAlgorithm="deflate|gzip" compressionLevel="high|normal|low"/> so,
Time of Update: 2018-12-07
我在《DNN資料庫核心表結構及設計思路探研 》一文中說,DNN模組的添加實際上加的是一個案頭模組,當被添加的案頭模組不只一個模組定義時,添加後就產生好幾個頁面模組,即一個模組定義一為一個模組。為了添加模組以頁面模組為單位,特將classic.ascx將作了部分修改,讓他達到這樣的目的。將在,模組右邊添加一個Definition下拉框,當模組選了後,就在模組定義下拉框顯示些案頭模組的所有模組定義,添加後,添加的只是一個頁面模組,而非一個案頭模組。操作步驟:下載/Files/shiningrise/