原创 獲取 Windows 窗體 DataGridView 控件中選定的單元格、行和列
獲取 DataGridView 控件中選中的單元格 使用 SelectedCells 屬性。 注意 使用 AreAllCellsSelected 方法可避免顯示可能具有大量數據的單元格。 pri
原创 在DataGridView中獲得DataGridViewCheckBoxColumn的狀態
在DataGridView中獲得DataGridViewCheckBoxColumn的狀態 在DataGridView中獲得DataGridViewCheckBoxColumn的狀態 當我們選中該Cell後,第1時間得到的該值爲
原创 PHP7-memcache-dll
https://github.com/nono303/PHP7-memcache-dll
原创 THINKPHP 3.2.3 多表事務
原文鏈接:http://www.thinkphp.cn/topic/48042.html // Thinkphp 3.2.3 多表事務 $Model = M(); $Model->startTr
原创 wampserver升級php5.5.12到php7.2.3
原文鏈接:http://blog.sina.com.cn/s/blog_8aea109f0102xbzf.html wampserver升級php5.5.12到php7.2.3 1.下載php7
原创 C#:在catch中return,會執行finally嗎?
請參考下面一段簡單的語句塊: 1: try2: {3: throw new Exception("new exception");4: }5: catch(Exception ex)6: {7: ret
原创 怎麼用C#製作印章(轉自:http://dev.csdn.net/author/Knight94/d670c121ca4d49a09160cef171867f2d.html)
製作印章來說,主要是如何讓字均勻的顯示在弧線段上,那麼一般的印章要麼以圓或者橢圓爲底圖,不過這兩者的算法大致相同,爲了方便說明,如下就用相對簡單的圓來舉例說明,如果需要做橢圓的話,可以在我的基礎上進行擴展,因爲核心算法是一樣的,相對於圓來
原创 CommandArgument的一種用法
以下示例說明如何在 .aspx 文件中聲明 command 按鈕控件。 <asp:Button id="SortAscendingButton" Text="Sort Ascending" Command
原创 SQL取幾條數據
mysql> SELECT * FROM table LIMIT 5,10; // 檢索記錄行 6-15//爲了檢索從某一個偏移量到記錄集的結束所有的記錄行,可以指定第二個參數爲 -1: mysql> SELECT * FROM
原创 ASP.NET裏面散列加密口令
private void LoginButton_Click(object sender,System.EventArgs e){ String sql=String.Format("sele
原创 C#中仿eval功能
private object doit(string methodname, object[] args) { Type t = this.GetType();
原创 c#中讓Windows窗體只運行一次,並在第二次啓動窗體時激活該窗體
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <script