摘要:
主要操作在App_Start 目录下的 RouteConfig.cs 文件。一、Url构造方式1、命名参数规范+匿名对象routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", defaults: ... 阅读全文
posted @ 2015-11-24 15:59
Now,DayBreak
阅读(582)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Web;using Exam.EncryptPrivate;using System.Text;using System.Security.Cry... 阅读全文
posted @ 2015-11-24 13:48
Now,DayBreak
阅读(1080)
评论(0)
推荐(0)
摘要:
一、添加web service引用1、右键 Web 项目 → “添加服务引用”;2、右键已有的 App_WebReferences 文件夹 → “添加服务引用”;二、引用远程web service 说明: 命名空间(ServiceReferenc):隶属于解决方案的名字空间; 找到的web... 阅读全文
posted @ 2015-11-24 10:30
Now,DayBreak
阅读(616)
评论(0)
推荐(0)
摘要:
1、问题描述: 网站部署之后,排序或者搜索之后报错:The state information is invalid for this page and might be corrupted2、问题原因:Viewstate (视图状态持久性机制) Asp.net页面中ViewState一般是存储... 阅读全文
posted @ 2015-11-24 10:02
Now,DayBreak
阅读(1189)
评论(0)
推荐(0)
摘要:
1、后台任意一个位置获取GridView行的主键值foreach (GridViewRow row in GridView1.Rows){ string order_Id=this.GridView1.DataKeys[row.RowIndex]["orders_Id"].ToString()... 阅读全文
posted @ 2015-11-24 09:41
Now,DayBreak
阅读(1189)
评论(0)
推荐(0)
摘要:
用vs做好了网站。清理解决方案和重新生成解决方案都可以。但是发布不能成功。发布不能成功,有错误还好,郁闷的是竟然没有错误提示。 解决方法: 1、发布文件夹权限问题。重新找个地方建立一个发布文件夹即可。 2、以前删除了文件,但文件还是以这个的方式存在,发布的时候找不到改文件,就会发布失败。将... 阅读全文
posted @ 2015-11-24 09:31
Now,DayBreak
阅读(869)
评论(0)
推荐(0)
浙公网安备 33010602011771号