protected void Page_Load(object sender, EventArgs 
e) { //设置Cookies HttpCookie cookie = new HttpCookie("UserName","ZhangSan"); ...
                            
                            
                                分类:
其他好文   时间:
2014-05-10 00:21:28   
                                阅读次数:
247
                             
                    
                        
                            
                            
                                /** 输入参数* _Request: Page.Request 对象* _Response: 
Page.Response 对象* _fileName: 下载文件名* _fullPath: 带文件名下载路径* _speed 每秒允许下载的字节数* 
返回是否成功*/public static bool...
                            
                            
                                分类:
Web程序   时间:
2014-05-09 20:25:04   
                                阅读次数:
537
                             
                    
                        
                            
                            
                                第一种方法:将使用session的类页面继承 
System.Web.UI.Page类,方法:public class AddUser: 
System.Web.UI.Page第二种方法:在page里可以直接用Session,但是在非page里面是需要通过下面的方式使用:HttpContext.Curr...
                            
                            
                                分类:
Web程序   时间:
2014-05-09 09:52:38   
                                阅读次数:
360
                             
                    
                        
                            
                            
                                using System.Data;using System.Data.Sql;using 
System.Data.SqlClient; protected void Page_Load(object sender, EventArgs e) { 
SqlConn...
                            
                            
                                分类:
数据库   时间:
2014-05-09 04:01:32   
                                阅读次数:
388
                             
                    
                        
                            
                            
                                问题描述:The page has one or more controls that do 
not correspond with controls in the Master Page解决办法:删除母版页中的大量的注释
                            
                            
                                分类:
Web程序   时间:
2014-05-08 23:45:26   
                                阅读次数:
400
                             
                    
                        
                            
                            
                                本文档下载题目:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=361 
The 3n + 1 problemTime limit: 3.000 seconds...
                            
                            
                                分类:
其他好文   时间:
2014-05-08 18:01:26   
                                阅读次数:
427
                             
                    
                        
                            
                            
                                相同之处:PartialView, EditorFor 和 DisplayFor 
都可以用作来实现页面的公共部分,其他页面可以根据需求来引用。不同之处:PartialView 是从Page的角度来处理,因此主 Page 和 
PartialView 一般用相同的Model,这样做可以实现Partial...
                            
                            
                                分类:
Web程序   时间:
2014-05-08 17:53:32   
                                阅读次数:
541
                             
                    
                        
                            
                            
                                问题: 403 Access DeniedYou are not authorized to view 
this page.If you have already configured the Manager application to allow access 
and you have used...
                            
                            
                                分类:
数据库   时间:
2014-05-08 09:12:05   
                                阅读次数:
570
                             
                    
                        
                            
                            
                                原文: 10个devexpress ASPxPivotGrid常见问题 
1、DXperience ASPxGridView如何开启lightweight模式描述:ASPxGridView样式主题中page render 
mode选项里面有 lightweight模式,要如何开启此模式?解答:目前AS...
                            
                            
                                分类:
Web程序   时间:
2014-05-08 01:28:45   
                                阅读次数:
764
                             
                    
                        
                            
                            
                                后台: protected void ibtnRegedit_Click(object sender, 
ImageClickEventArgs e) { if (!Page.IsValid || !CheckVCode()) retu...
                            
                            
                                分类:
其他好文   时间:
2014-05-08 00:44:32   
                                阅读次数:
281