10 2013 档案

摘要:图片向上、向下、向左、向右不间断无缝滚动. 图片向下滚动: ... 阅读全文
posted @ 2013-10-22 10:18 春天又来了 阅读(182) 评论(0) 推荐(0) 编辑
摘要:一、JSON MVC And JQuery In case you are new to JSON please read this before moving ahead with this lab ,What is JSON ?.So in this lab we will expose a simple “Customer” object from MVC in JSON format and consume the same using Jquery. For this lab please ensure that the project is created by using ba. 阅读全文
posted @ 2013-10-20 08:23 春天又来了 阅读(1349) 评论(0) 推荐(0) 编辑
摘要:遇到这样一个问题,存储在数据库的数据是一串字符串如:1,2,3,4,5,6。想把这串字符串进行转变成一个表格,如下:123456就是这样一个问题,有人同事,写了一个这样的封装函数,这样就方便多了,使用方法如下:DECLARE @IdString nvarchar(max)Select @IdString=FMenu from dbo.T_Groups where Fgroupsid=1DECLARE @tTable TABLE ( tId int )INSERT @tTable ( tId ) select Item from dbo.Func_Splitstring(@IdString,&# 阅读全文
posted @ 2013-10-18 16:46 春天又来了 阅读(422) 评论(0) 推荐(0) 编辑
摘要:IntroductionThis article introduces Entity Framework to absolute beginners. The article is meant for developers who are primarily using ADO.NET to write their data access layers. Many experienced developers will find this article very basic but since the article is written from the perspective of be 阅读全文
posted @ 2013-10-18 10:38 春天又来了 阅读(470) 评论(0) 推荐(0) 编辑
摘要:我们有时候需要查找出父菜单下面全部的子菜单,然后根据子菜单的ID查找出该类别下面的全部新闻。 通常往往只知道父级菜单的ID,但不知道父级菜单下面有多少个子菜单,也不知道子菜单的ID 所以我们往往需要根据这一条SQL语句:select 子菜单ID from 表 where 父菜单ID=Id 找出全部的子菜单ID。 然后根据子菜单ID去查找出该类别下面的全部新闻 使用Repeater嵌套可以很方便实现这一点,示例如下: 前端HTML示例: '>更多 ... 阅读全文
posted @ 2013-10-18 08:22 春天又来了 阅读(453) 评论(0) 推荐(0) 编辑
摘要:二、Creating Custom Routes In this tutorial, you learn how to add a custom route to an ASP.NET MVC application. You learn how to modify the default route table in the Global.asax file with a custom route. For many simple ASP.NET MVC applications, the default route table will work just fine. However... 阅读全文
posted @ 2013-10-17 10:12 春天又来了 阅读(533) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2013-10-16 12:23 春天又来了 阅读(5) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2013-10-14 13:59 春天又来了 阅读(4) 评论(0) 推荐(0) 编辑
摘要:In this tutorial, Stephen Walther introduces you to ASP.NET MVC controllers. You learn how to create new controllers and return different types of action results. This tutorial explores the topic of ASP.NET MVC controllers, controller actions, and action results. After you complete this tutorial,... 阅读全文
posted @ 2013-10-12 15:04 春天又来了 阅读(294) 评论(0) 推荐(0) 编辑
摘要:In this tutorial, you learn how to create a common page layout for multiple pages in your application by taking advantage of view master pages. You can use a view master page, for example, to define a two-column page layout and use the two-column layout for all of the pages in your web application.. 阅读全文
posted @ 2013-10-12 14:16 春天又来了 阅读(512) 评论(0) 推荐(0) 编辑
摘要:The ASP.NET MVC framework includes a useful utility class named the TagBuilder class that you can use when building HTML helpers. The TagBuilder class, as the name of the class suggests, enables you to easily build HTML tags. In this brief tutorial, you are provided with an overview of the TagBuil.. 阅读全文
posted @ 2013-10-12 11:49 春天又来了 阅读(496) 评论(0) 推荐(0) 编辑
摘要:The goal of this tutorial is to demonstrate how you can create custom HTML Helpers that you can use within your MVC views. By taking advantage of HTML Helpers, you can reduce the amount of tedious typing of HTML tags that you must perform to create a standard HTML page. In the first part of this ... 阅读全文
posted @ 2013-10-12 09:10 春天又来了 阅读(390) 评论(0) 推荐(0) 编辑
摘要:The purpose of this tutorial is to provide you with a brief introduction to ASP.NET MVC views, view data, and HTML Helpers. By the end of this tutorial, you should understand how to create new views, pass data from a controller to a view, and use HTML Helpers to generate content in a view. Unders... 阅读全文
posted @ 2013-10-12 08:59 春天又来了 阅读(259) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示