摘要:        
1.支持巴西,农民。太大众化了,一点品味都没有,不是农民是什么。 2.支持德国,工人。崇尚力量和效率的美感,一看是从事重体力劳动出身的。 3.支持阿根廷,小资。小资的忧伤情调就在于他们总是追求命中注定得不到的东西 。 4.支持意大利,中产阶级。这些球迷一般喜欢穿着西装坐在咖啡厅里喝着咖啡,举 止文雅的欣赏比赛。在他们眼里,无论是一场球 赛还是一场音乐会,都是身份的象 征。 ...    阅读全文
posted @ 2006-07-10 14:09
pensir
阅读(280)
评论(0)
推荐(0)
        
            
        
        
摘要:        
20世纪80年代前半期,计算机病毒大多处于实验室阶段。偶尔有少数几种病毒会感染Apple II平台。但毕竟,仍在人们但掌控之下。全文    阅读全文
posted @ 2006-07-10 12:39
pensir
阅读(701)
评论(0)
推荐(0)
        
            
        
        
摘要:        
private void btnUpload_Click(object sender, System.EventArgs e){ //得到用户要上传的文件名 string strFilePathName = loFile.PostedFile.FileName; string strFileName = Path.GetFileName(strFilePathName); int FileLeng...    阅读全文
posted @ 2006-07-10 11:53
pensir
阅读(335)
评论(0)
推荐(0)
        
            
        
        
摘要:        
private void LoginButton_Click(object sender,System.EventArgs e){ String sql=String.Format("select password from Administrator where AdminID='{0}',UseridBox.Text); SqlConnection conn=new...    阅读全文
posted @ 2006-07-10 11:51
pensir
阅读(354)
评论(0)
推荐(0)
        
            
        
        
摘要:        
private void btnSubmit_Click(object sender, System.EventArgs e){ //SmtpMail.Send("shaozhd@263.net","shaozhd@263.net","Test","Hello"); MailMessage m = new MailMessage(); m.From = tbFrom.Text; m.To = t...    阅读全文
posted @ 2006-07-10 11:50
pensir
阅读(340)
评论(2)
推荐(0)
        
            
        
        
摘要:        
在以下按钮单击事件中实现:private void btnMIME_Click(object sender, System.EventArgs e){dgShow.AllowPaging = false; BindData(); Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader("Content-Disp...    阅读全文
posted @ 2006-07-10 11:33
pensir
阅读(4667)
评论(13)
推荐(0)
        
            
        
        
摘要:        
private void CustomValidator1_ServerValidate(object source, System.Web.UI.WebControls.ServerValidateEventArgs args){ int i=db.DataValid(args.Value); /*args.Value即为所要验证的值*/ /*db.DataValid...    阅读全文
posted @ 2006-07-10 11:29
pensir
阅读(1653)
评论(2)
推荐(0)
        
            
        
        
摘要:        
private void dgSearch_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e){ if(e.Item.ItemType==ListItemType.Item ||e.Item.ItemType==ListItemType.AlternatingItem) /*判...    阅读全文
posted @ 2006-07-10 11:28
pensir
阅读(557)
评论(0)
推荐(0)
        
            
        
        
摘要:        
在.aspx页面中添加: 在Page_Load事件中添加:tbInput.Attributes.Add("onkeydown","SubmitKeyClick('btnOK');");    阅读全文
posted @ 2006-07-10 11:27
pensir
阅读(287)
评论(0)
推荐(0)
        
            
        
        
摘要:        
window.open使用方法以及参数说明window.open参数window.open方法window.open使用一、window.open()支持环境:JavaScript1.0+/JScript1.0+/Nav2+/IE3+/Opera3+ 二、基本语法:window.open(pageURL,name,parameters)其中:pageURL为子窗口路径name为子窗口句柄param...    阅读全文
posted @ 2006-07-10 11:26
pensir
阅读(761)
评论(0)
推荐(0)
        
            
        
        
摘要:        
private void FileDownload(string FullFileName){ FileInfo DownloadFile=new FileInfo(FullFileName); Response.Clear(); Response.ClearHeaders(); Response.Buffer=false; Response.ContentType="application/oc...    阅读全文
posted @ 2006-07-10 11:24
pensir
阅读(357)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Web.config中: .aspx.cs中:System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"];    阅读全文
posted @ 2006-07-10 10:51
pensir
阅读(626)
评论(2)
推荐(0)
        
            
        
        
摘要:        
在web.config中添加httpRuntime元素,如下: 其中maxRequestLength属性就是限制上传大小的,如设为"8192"即为8M。    阅读全文
posted @ 2006-07-10 10:46
pensir
阅读(1005)
评论(0)
推荐(0)
        
            
        
        
摘要:        
虽然 Apache 的名声可能比 IIS 好,但我相信用 IIS 来做 Web 服务器的人一定也不少。说实话,我觉得 IIS 还是不错的,尤其是 Windows 2003 的 IIS 6(马上 Longhorn Server 的 IIS 7 也就要来了,相信会更好),性能和稳定性都相当不错。但是我发现许多用 IIS 的人不太会设置 Web 服务器的权限,因此,出现漏洞被人黑掉也就不足为奇了。但我们...    阅读全文
posted @ 2006-07-10 10:28
pensir
阅读(794)
评论(0)
推荐(0)
        
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号