摘要:
怎么去解决?事实上它是由于网站没有启用匿名账号的原因,看我是如何修改的OK,把这个选项勾上就可以了,哈哈! 阅读全文
摘要:
/// <summary> /// 自定义谓词 /// </summary> public class VPredication : IEnumerable<KeyValuePair<string, object>> { Dictionary<string, object> dicv = null; SpacePredication spacePredication = null; /// <summary> /// 区间谓词 /// </summary> public SpacePredication Spa 阅读全文
摘要:
列表主页Action内容: public ActionResult HelpList() { Entity.Commons.VPredication vp = new Entity.Commons.VPredication(); Entity.Commons.PagingParam pp = new Entity.Commons.PagingParam(1, 10); Entity.PagedList<Entity.HelpDocument> list = _HelpDocumentServices.GetHelpDocument(vp, pp); List<Entity.H 阅读全文
摘要:
本类继承了IEnumerable接口这后,支持了简单的遍历,方法将内部的消息输出,提供了两种索引器对它进行读取,数值为索引的和字符为索引的.namespace Entity.Commons{ /// <summary> /// 通用消息序列类 /// </summary> public class VMessage : IEnumerable<string> { /// <summary> /// 是否完成 /// </summary> public bool IsComplete { get; set; } /// <summ 阅读全文
摘要:
ASHX内容: #region IHttpHandler Members public void ProcessRequest(HttpContext context) { context.Response.ContentType = "application/x-javascript"; List<User> list = new List<User>(); for (int i = 0; i < 10; i++) { list.Add(new User { UserName = "zzl" + i, Tel = &quo 阅读全文