码迷,mamicode.com
首页 >  
搜索关键字:page    ( 13016个结果
ADO.NET连接数据库
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
页面与母版页面的asp:ContentPlaceHolder不匹配
问题描述: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
100-The 3n + 1 problem
本文档下载题目: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
在Asp.Net MVC中PartialView与EditorFor和DisplayFor的区别
相同之处:PartialView, EditorFor 和 DisplayFor 都可以用作来实现页面的公共部分,其他页面可以根据需求来引用。不同之处:PartialView 是从Page的角度来处理,因此主 Page 和 PartialView 一般用相同的Model,这样做可以实现Partial...
分类:Web程序   时间:2014-05-08 17:53:32    阅读次数:541
JS使用ActiveXObject读取数据库代码示例(只支持IE)
1 2 3 4 测试js访问数据库 5 6 42 43 44 This is my page.45 46 47 48 以上代码可以实现JS读取数据库并以列表方式显示出来。点击button即可看到结果。执行的SQL语句是:SELECT * FROM Te...
分类:数据库   时间:2014-05-08 11:42:56    阅读次数:816
Tomcat8访问管理页面localhost出现:403 Access Denied
问题: 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常见问题
原文: 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
使用Attach和Detach来实现更新的时候避免逐一赋值的麻烦
之前都是用扩展方法来copy属性值,不过兼容性不是很好。(关于这个扩展方法可以参照这个博客),不过我们可以通过下方的代码来实现,由于是微软提供的功能,所以不需要考虑兼容性问题:public partial class WebForm2 : System.Web.UI.Page { protected void Page_Load(object sender, EventAr...
分类:其他好文   时间:2014-05-08 00:19:02    阅读次数:326
A* Pathfinding for Beginners A*算法路径搜索入门
http://www.gamedev.net/page/resources/_/technical/artificial-intelligence/a-pathfinding-for-beginners-r2003...
分类:其他好文   时间:2014-05-06 23:03:41    阅读次数:1426
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!