用C#实现Des加密和解密
usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Security.Cryptography;using …… 阅读全文
usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Security.Cryptography;using …… 阅读全文
以下创建了一个Person类型的强类型化集合。using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.We …… 阅读全文
private void menuStepAdd_Click(object sender, EventArgs e) { frmAddStep addStep = new frmAddStep(); addStep.FormBorderStyle = FormBorderStyle.None; addStep.Top …… 阅读全文
两种简洁方法 1、 2、 两种其它方法:3、前台实现方法在中添加 function show() {var obj = document.all.tags("LABEL");for (i=0;i{document.all["dd"][i].innerHTML=i+1;} } 4、后台实现方法后台实现方法:在.aspx里添加在.cs里 …… 阅读全文
Winform程序在更改程序图标时,有时更改后,只要把原来的图标删除掉,这时,窗口上的工具栏和菜单栏就什么也看不到了。---------------------------------需要先在资源里把那个图标删除掉,然后再从盘上删除掉以前的图标文件。 …… 阅读全文
在我们的系统的编写过程中,应该有很多的时候需要客户下载文件.我第一次的做法(应该也是大部分人的做法吧?)是:HttpResponseresponse=HttpContext.Current.Response;stringjs="window.open({0});";js=string.Format(js,url);response.Write(js);但是有个 …… 阅读全文
(一) 描述当用户在 Web 应用程序中导航 ASP.NET 页时,ASP.NET 会话状态使您能够存储和检索用户的值。HTTP 是一种无状态协议。这意味着 Web 服务器会将针对页面的每个 HTTP 请求作为独立的请求进行处理。服务器不会保留以前的请求过程中所使用的变量值的任何信息。ASP.NET 会话状态将来自限定时间范围内的同一浏览器的请求标识为一个会话,当每个用户首次与这台W …… 阅读全文
这是1哈哈哈哈........... 这是二哈哈哈哈........... 这是三哈哈哈哈....... …… 阅读全文