.Net安装的相关说明
發表於|更新於|开发
|總字數:50|閱讀時間:1分鐘|瀏覽量:
下载.net framework v1.1 sp1
安装该程序
注册IIS
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i就是这样,最近被单位的服务器搞死了。:-(
PS:等待另一个春天
文章作者: zhou
版權聲明: 本部落格所有文章除特別聲明外,均採用CC BY-NC-SA 4.0 授權協議。轉載請註明來源 米斯特周!
相關推薦
2006-05-30
how to get Text property of Label in DataList?
Normally when you want to do that you are doing it from within an event raised by the DataList. I will assume that is where you are doing this from. Here is a line of code that will get the Text property of the current Item: CType(e.Item.FindControl(“lblMyLabel”), Label).Text If you needed to access this data from a method/function other than one of the events raised by the DataList, you will need to know the index of the item the desired Label is in. In this case, use the following: CTy...
2006-06-11
Building a DAL using Strongly Typed TableAdapters
无意中从asp.net的一个播客上发现了关于dataset和tableadapter的用法。比较详细。记录下来。 http://weblogs.asp.net/scottgu/archive/2006/01/15/435498.aspx
2006-05-13
ASP.NET与SQL数据库连接方面的笔记
ASP.NET连接数据库可以使用VS提供的空间DATASOURCE,包括Sqldatasource,objectdatasource,xmldatasource,AccessDatasource。 连接数据库一般是三步,先建立连接,执行SQL命令,关闭连接。 当然,可以先把连接数据库字符串写入Web.Config文件,然后调用。 方法如下: SqlConnection aconn = new SqlConnection(ConfigurationManager.AppSettings.Get(“Conn”)); aconn.Open(); string sql1=”Insert into table(colum1,colum2,colum3) values ('Value1','Value2','value3')”; SqlCommand command = new SqlCommand(sql1,aconn); ...
2006-10-17
关于使用HASH函数加密
今天在写guestbook的代码的时候,想给密码加密,以前我发过一篇日志,是使用自己的MD5的方法加密的,虽然MD5加密不可逆,但是仍然感觉那个加密方法需要改进一下。 从baidu上搜索了一下HASH后得到MD5加密字符串的范例,特与各位ASP.NET朋友共享一下。 using System; using System.Security.Cryptography; using System.Text; using System.IO; using System.Data; public string CoumputeHash1(string szToHashString) { //将 szToHashString转换为字节数组 byte[] byteToHash = Encoding.Default.GetBytes(szToHashString); //创建的 MD5 类的实例 MD5CryptoServiceProvider csp=new MD5CryptoServiceProvider(); byte[] byteHashValue = csp.Comput...
2006-09-12
C#高级编程
各位想要学习C#的朋友,可以先看C#高级编程,当时我朋友就给我推荐,说别的先都别看,就看这个教程,很不错的。好吧,我把下载地址贴出,想下载的朋友就抓紧时间。 http://www.live-share.com/files/30157/C_____.pdf.html 打开后,等待10秒,然后出现下载地址。链接2个月内有效。
2006-05-24
ASP.NET中MD5加密码的方法
<%@ Page Language="C#" ContentType="text/html"%> <%@ Import Namespace="System"%> <script language="C#" runat="server"> void Page_Load(Object sender,EventArgs e){ //获取要加密的字段,并转化为Byte[]数组 } <script language="C#" runat="server"> void Page_Load(Object sender,EventArgs e){ //获取要加密的字段,并转化为Byte[]数组 byte[] data=System.Text.Encoding.Unicode.GetBytes(source.Text.ToCharArray()); //建立加密服务 System.S...
評論
