摘要: 在使用VS2008过程,发现有了全新的分页控件<asp:DataPager ID="DataPager1" runat="server" PagedControlID="ListView1" PageSize="4"> <Fields> <asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButto...阅读全文
posted @ 2008-11-23 09:56 WUYQ 阅读(643) 评论(0) 编辑
摘要: <script language="javascript">function init() { var tbBody = document.getElementById("<%=GridView2.ClientID%>"); if(tbBody!=null) { var tbHead = tbBody.cloneNode(true) for(i = tbHead.rows....阅读全文
posted @ 2008-11-23 09:54 WUYQ 阅读(170) 评论(0) 编辑
摘要: 在asp.net中生成html文件代码如下:public static bool CreatHtmlPage(string[] strNewsHtml, string[] strOldHtml, string strModeFilePath, string strPageFilePath) { bool Flage = false; StreamReader ReaderFile = null; ...阅读全文
posted @ 2008-11-23 09:33 WUYQ 阅读(32) 评论(0) 编辑
摘要: 在asp.net中要实现如下图片的多选功能:可通过checkboxlist实现.数据可通过datatable或dataset实现。阅读全文
posted @ 2008-08-15 21:31 WUYQ 阅读(69) 评论(0) 编辑
posted @ 2008-08-03 12:54 WUYQ 阅读(72) 评论(2)  编辑
posted @ 2008-07-27 08:20 WUYQ 阅读(195) 评论(0)  编辑
摘要: C# 泛型和 C++ 模板都是用于提供参数化类型支持的语言功能。然而,这两者之间存在许多差异。 C# 泛型未提供与 C++ 模板相同程度的灵活性。例如,尽管在 C# 泛型类中可以调用用户定义的运算符,但不能调用算术运算符。C# 不允许非类型模板参数,如 template C<int i> {}。C# 不支持显式专用化,即特定类型的模板的自定义实现。C# 不支持部分专用化:类型参数子集的...阅读全文
posted @ 2008-06-16 21:39 WUYQ 阅读(289) 评论(0) 编辑
摘要: Private Function JiaMi(ByVal No As String) As String Dim Key, Pass As String Dim i, code, j As Integer Dim HashCryptoService As HashAlgorithm HashCryptoService = New SHA256Managed Dim bytIn As Byte() ...阅读全文
posted @ 2008-06-16 21:37 WUYQ 阅读(79) 评论(0) 编辑
posted @ 2008-04-20 08:53 WUYQ 阅读(42) 评论(0)  编辑
posted @ 2008-04-20 08:52 WUYQ 阅读(41) 评论(1)  编辑