内容列表
Securing an ASP.Net application...
By: Chris Sully Date: January 30, 2003 Download the code.
分类:.NET开发 查阅全文
通过WMI获得硬盘和CPU的物理序列号(VB.net)
        '获得硬盘序列号         Dim cmicWmi As New System.Management.ManagementObjectSearcher("SELECT * FROM Win32_DiskDrive")  
分类:.NET开发 查阅全文
Interfaces vs Abstract Classes...
Interfaces vs Abstract Classes... A side by side comparison of features of Interfaces and Abstract Classes. By: Naveen Date: October 23, 2003
分类:.NET开发 查阅全文
Creating a Scrollable DataGrid...
Place a DataGrid, or any other control or set of controls, within a scrollable region on your .NET web forms. By: John Kilgo Date: November 23, 2003 Download the code.
分类:.NET开发 查阅全文
Send Email and Attachments with ASP.Net...
By: John Kilgo Date: December 10, 2002 Download the code.
分类:.NET开发 查阅全文
Simulating a Bar Graph Using Simple HTML and a DataSet...
  You may have seen web pages that include a horizontal bar graph showing responses to a questionaire or other numeric results without the use of a graphing tool. This article will demonstrate h
分类:.NET开发 查阅全文
Vsiaul C#如何读取注册信息
  从视窗95开始,微软公司就在视窗系统中引入了注册表这个概念。注册表到底是什么东东呢?它是视窗系统的一个核心的数据库,在这个数据库中存放中与系统相关的各种参数,这些参数直接控制中系统的启动、硬件的驱动程序安装信息以及在视窗系统上运行的各种应用程序的注册信息等。这就意味着,如果注册表因为某些原因受到了破坏,轻者是视窗系统启动过程出现异常,重者就有可能导致整个系统的完全瘫痪。所以正确的认
分类:.NET开发 查阅全文
asp.net中的多語言使用
private ResourceManager MultiLang = new ResourceManager("Demo.Languages.test", Assembly.GetExecutingAssembly()); //Web站台名.放置多語方的目錄.要使用的語言包(會自動根據進程的語言狀態選擇test.zh-tw.resx,test.zh-cn.res
分类:.NET开发 查阅全文
使用WMI列出Windows中某个目录的用户权限(C#)
using System; using System.Management; using System.Collections;   class Tester {        public static void Main()      {    
分类:.NET开发 查阅全文
網頁中彈出對自定義對話框並進行傳值
主體WEB頁中:  private void Page_Load(object sender, System.EventArgs e)  {       string strScript="<script language=\"javascript\">\n" &nb
分类:.NET开发 查阅全文
Using Templates With the ASP.NET Repeater Control...
The Repeater control is a lightweight control but has many uses and has become a favorite of mine. Many developers do not realize that you can use templates with the Repeater. It has a limited set of
分类:.NET开发 查阅全文
Empowering the ASP.Net Button Web Control, Confirm?...
1.彈出警示對話框  private void btnEdit_Click(object sender, System.EventArgs e)  {     Page.RegisterStartupScript("Startup", "<Script Language=JavaScript> aler
分类:.NET开发 查阅全文
How to Confirm a Delete in an ASP.NET Datagrid...
If you are allowing users to delete rows from a datagrid, you may want to give them the chance to confirm the delete first. By: John Kilgo Date: July 17, 2003 Download the code.
分类:.NET开发 查阅全文
字符串匹配的KMP算法
Option ExplicitDim I As Long, J As Long'字符串匹配的KMP算法 Private Sub Command1_Click()'* 需匹配的字节数组Dim P() As Byte'* 源文件字节数组Dim S() As ByteDim txt As StringDim Fnum As Longtxt = App.Path & "\Sample"Fnum
分类:.NET开发 查阅全文
Multi-row Editing in the ASP.NET DataGrid...
Multi-row Editing in the ASP.NET DataGrid... This articles demonstrates how you can have multiple datagrid rows available for editing at one time, not just the one row you are normally limited to.
分类:.NET开发 查阅全文
N皇后的回溯算法
Option Explicit''N皇后互不攻击问题的回溯算法 Private Sub Command1_Click()Dim n As LongDim i As Long, j As LongDim a() As Longn = CLng(Text1.Text)ReDim a(1 To n)For i = 1 To n    a(i) = 1Next '*算法实
分类:.NET开发 查阅全文
Including a DropDownListBox in an Editable DataGrid...
  By: John Kilgo Date: February 1, 2003 Download the code.
分类:.NET开发 查阅全文
Export ASP.NET DataGrid To Excel
Exporting DataGrids to Excel... Ken Walker's article on exporting DataSets to Excel has proved very popular. This article by Mike Dolan presents a different technique for getting a DataGrid rather t
分类:.NET开发 查阅全文
Export DataSets to Excel...
Often we need to load the data from a dataset into an excel spreadsheet to be manipulated and/or saved off to a local file. There are several ways to accomplish this using either Crystal Reports or Ac
分类:.NET开发 查阅全文
WebBroswer In C#
If you want to write into webbrowser in windows form in C#, you have to make reference MSHTML library and use its interface to do so. The trick is, if you did this in ASP or Visual Basic, you can simp
分类:.NET开发 查阅全文
<< 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 >>