![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ASP.NET
文章平均质量分 62
行游客
这个作者很懒,什么都没留下…
展开
-
在GridView控件中的RowCommand事件里获得行信息的方法
取ID的值方法一 GridViewRow drv = ((GridViewRow)(((LinkButton)(e.CommandSource)).Parent.Parent)); //此得出的值是表示那行被选中的索引值原创 2011-08-10 11:29:17 · 716 阅读 · 0 评论 -
给模型(Model)添加验证(ASP.NET MVC3系列文章八)
原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part8-cs 这个教程将会使用Microsoft Visual Web Developer 2010 Express Service Pack 1来教会您构建一个基于ASP.NET MVC Web应翻译 2012-03-12 16:38:23 · 4564 阅读 · 0 评论 -
改善Details和Delete方法(ASP.NET MVC3系列文章九)
原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part9-cs 这个教程将会使用Microsoft Visual Web Developer 2010 Express Service Pack 1来教会您构建一个基于ASP.NET MVC Web应翻译 2012-03-14 17:37:10 · 2275 阅读 · 0 评论 -
给电影的模型(Model)和表格增加新的字段(ASP.NET MVC3系列文章七)
原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part7-cs 这个教程将会使用Microsoft Visual Web Developer 2010 Express Service Pack 1来教会您构建一个基于ASP.NET MVC Web应翻译 2012-03-09 15:49:10 · 1710 阅读 · 0 评论 -
从一个控制器(Controller)存储您的模型(Model)数据(ASP.NET MVC3系列文章五)
原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part5-cs这个教程将会使用Microsoft Visual Web Developer 2010 Express Service Pack 1来教会您构建一个基于ASP.NET MVC Web应用。翻译 2012-02-28 17:52:48 · 3448 阅读 · 1 评论 -
新增一个模型(Model)(ASP.NET MVC3系列文章四)
原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part4-cs这个教程将会使用Microsoft Visual Web Developer 2010 Express Service Pack 1来教会您构建一个基于ASP.NET MVC Web应用翻译 2012-02-27 15:50:48 · 2591 阅读 · 0 评论 -
新增一个视图(View)(ASP.NET MVC3系列文章三)
原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part3-cs这个教程将会使用Microsoft Visual Web Developer 2010 Express Service Pack 1来教会您构建一个基于ASP.NET MVC Web应用翻译 2012-02-24 15:32:54 · 2814 阅读 · 0 评论 -
新增一个控制器(Controller)(ASP.NET MVC3系列文章二)
原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part2-cs 这个教程将会使用Microsoft Visual Web Developer 2010 Express Service Pack 1来教会您构建一个基于ASP.翻译 2012-02-21 17:10:13 · 1614 阅读 · 0 评论 -
检查编辑的方法和视图(ASP.NET MVC3系列文章六)
原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part6-cs 这个教程将会使用Microsoft Visual Web Developer 2010 Express Service Pack 1来教会您构建一个基于ASP.NET MVC Web应翻译 2012-03-06 15:42:22 · 1976 阅读 · 0 评论 -
ASP.NET MVC3介绍(ASP.NET MVC3系列文章一)
这是第一次翻译国外的教程,希望能给想要学习ASP.NET MVC的初学者一些帮助,由于英语有限,有错误的地方,还请谅解。 原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part1-cs 这个教程将会使用Microsoft V翻译 2012-02-21 15:02:37 · 1034 阅读 · 0 评论 -
ASP.NET中实现伪静态路由
一。首先在想要实现伪静态的网站中引用URLRewriter.dll二。在web.config中加上如下配置信息: ~/Default.html ~/Default.aspx 注:(1)标签中定义的是原创 2012-02-20 15:09:24 · 1254 阅读 · 0 评论 -
Newtonsoft 获取动态key的json数据
在反序列化一些json数据的过程中,有些数据根本没有办法反序列化,因为json数据的key值是动态的,另外还有一些key值是数字的,也没有办法反序列化到c# 类。 反序列化是没希望,但总可以读出来吧,寒, 要不然就要换掉Newtonsoft了。 举例:string str = "{\"3\":123,body:456,list:{title:'abc',body:'what'}转载 2011-10-24 16:18:45 · 7264 阅读 · 2 评论 -
TextBox各项禁止操作
onpaste="return false" 禁用粘贴oncopy="return false" 禁用复制oncut="return false" 禁用剪切context="noContext" 禁用右键菜单原创 2011-09-27 11:09:24 · 590 阅读 · 0 评论 -
JQuery多文件上传插件Uploadify在ASP.NET中的实现
Uploadify <link href="JS/jquery.uploadify-v2.1.0/example/css/default.css" rel="stylesheet" type="text/css" /> <link href="JS转载 2011-08-30 10:32:09 · 3858 阅读 · 0 评论 -
在Aspose.Cells的单元格中加上边框
//Instantiating a Workbook objectWorkbook workbook =newWorkbook(); //Obtaining the reference of the first (default) worksheet by p原创 2011-08-28 20:49:02 · 12105 阅读 · 1 评论 -
关于EXCEL2007导入DataSet报“外部表不是预期的格式”的解决方法
很多人换了2007后,问的最多的问题之一是2003里最经典的ADO中的“provider=Microsoft.Jet.OLEDB.4.0”这句怎么不能用了。 百度一下可以了解到,Microsoft.Jet.OLEDB.4.0是Microsoft Jet引擎,这适用于2003转载 2011-08-28 20:05:33 · 1742 阅读 · 1 评论 -
保留两位小数
http://ywxk1999.popo.blog.163.com/blog/static/920115520082783458167/1、Math.Round(0.333333,2);//按照四舍五入的国际标准2、 double dbdata=0.335333转载 2011-08-27 23:35:16 · 923 阅读 · 0 评论 -
使用ToolkitScriptManager报错“Sys.Extended.UI"的解决方法
To resolve this issue simply add CombineScripts=”false” to the AjaxToolkitManager tag,原创 2011-08-22 15:11:22 · 1298 阅读 · 0 评论 -
为ASP.NET MVC应用创建Entity Framework数据模型(1/10)
原址:http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/creating-an-entity-framework-data-model-for-an-asp-net-mvc-application 这个简单的Contoso大学Web应用演示了怎么使用Entity Framework去创建一个ASP.N翻译 2012-04-26 14:33:39 · 12287 阅读 · 0 评论