随笔分类 - ASP.NET
摘要:大概效果: 参考:https://echarts.apache.org/examples/zh/editor.html?c=pie-nest 前端: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="axmt630zc.aspx.cs
阅读全文
摘要:效果图 前端web和axaj: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="zichanmx.aspx.cs" Inherits="xsweb.ERPInfo.zichanmx" %> <!DOCTYPE html> <html
阅读全文
摘要:转自:https://www.cnblogs.com/yuyexiaoxiao/p/13537101.html 案例一: string json = "[{"Groupid":"54","groupnum":"66000","groupname":"大唐移动","type":"0","dnspref
阅读全文
摘要:转自:https://www.cjavapy.com/article/50/ .Net(C#)后台发送Get和Post请求的几种方法总结 levi 编辑于 2019-12-19 本文主要介绍分别通过HttpClient、Flurl.Http、WebRequest和WebClient发送Get和Pos
阅读全文
摘要:建立asp.net-mvc-webservice接口: 部署好IIS,能成功访问 T100调用webservice接口
阅读全文
摘要:先看效果图: 再看Controller的ddl绑定代码: public ActionResult Index() { //绑定DropDownList数据 List<ClassInfo> classList = new List<ClassInfo>(); ClassInfo classinfo =
阅读全文
摘要:登录后显示的页面,学生列表: 后台返回的JS内容: 点击下一页: 1,先看一下DAL.StudentService的内容: public class StudentService { /// <summary> /// 获取学生列表分页数据 /// </summary> /// <param nam
阅读全文
摘要:自我学习计划2,运用上一篇MVC三层架构,做一个用户登录功能; 1,验证码验证,不刷新页面提示; 2,登录成功跳转; 首先看下整个项目的框架: 我的想法是这样的,MODEL层存放跟数据表结构一样的MODEL,而MVC的Models存放页面所需要的内容MODEL; 如MODEL——AdminInfo.
阅读全文
摘要:三层架构MVC笔记1、 DAL——数据访问层;(专门与数据库交互,增删查改的方法都在这;需引用MODEL层) BLL——业务逻辑层;(页面与数据库之间的桥梁;需引用DAL、MODEL层) MODEL——模型层;(一个数据表对应一个Model类,字段属性皆一样,面向对象编程,参数都以MODEL传递;不
阅读全文
摘要:aspx代码: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="_ChosmePager.aspx.cs" Inherits="AspNetChosmePager._ChosmePager" %> <%@ Register Asse
阅读全文
摘要:aspx代码: <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>
阅读全文
摘要:已经好几年没写过代码,重新练习起代码,在这做做笔记备忘。 aspx页面js代码: <script type="text/javascript"> function showMsg() { //定时刷新获取聊天内容 var data = "{}"; $.ajax({ type: "POST", dat
阅读全文