TECH-Microsoft Solution
Kirpheaice
这个作者很懒,什么都没留下…
展开
-
[ASP.NET/C#][GridView][DataFormatString]用法
DataFormatString 在GridView的用法 1.數字格式 格式字串輸入結果 "{0:C}" 12345.6789 ==> $12,345.68 "{0:C}" -12345.6789 ==>($12,345.68) "{0:D}" 12345 ==>12345 "{0:D8}" 12345 ==>00012345 "{0:E}" 12345.6789 ==>123转载 2012-05-07 16:30:55 · 454 阅读 · 0 评论 -
[ASP.NET/C#][GridView][Header]要加怪東西時的處理方式
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Header) { e.Row.Cells[0].Text = ""; } }转载 2012-05-08 17:56:50 · 866 阅读 · 0 评论 -
c# ftp class[轉]
// 轉自:http://www.cnblogs.com/tuyile006/archive/2009/02/23/1396524.html // 存在自己的blog以備查用。 using System; using System.Net; using System.IO; using System.Text; using System.Net.Sockets; ///转载 2012-05-25 09:12:21 · 184 阅读 · 0 评论 -
[T-SQL][WITH]怪招案例
1.with , 階層式sql WITH tmpTree (categoryID, Parentcategory, categoryName, lvl ,num ) AS ( SELECT categoryID, Parentcategory, categoryName, 0,0 FROM tblCategory UNION All SELECT a.categoryID, a.Pare转载 2012-05-09 20:24:14 · 361 阅读 · 0 评论