• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






腾飞i博客

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 下一页

2018年11月3日

C#_实现冒泡排序
摘要: static void Main(string[] args) { int[] intArr = new int[10] { 51, 41, 31, 91, 81, 71, 61, 21, 11, 0 }; Console.Write("排序前:"); for (int i = 0; i < int 阅读全文
posted @ 2018-11-03 13:51 Super飞 阅读(629) 评论(1) 推荐(0)
 
浅谈_依赖注入 asp.net core
摘要: 1.1什么是依赖 我们先看下图 可以简单理解,一个HomeController类使用到了DBContext类,而这种关系是有偶然性,临时性,弱关系的,但是DBContext的变化会影响到HomeController 1.2显示依赖和隐式依赖 先看显示依赖代码: 显示依赖通过构造函数,很清楚的描述了H 阅读全文
posted @ 2018-11-03 13:41 Super飞 阅读(321) 评论(0) 推荐(0)
 

2018年10月30日

____利用C#特性Attribute完成对sql语句的拼接
摘要: //定义 特性类: public class MyAttribute : Attribute//自定义注解类判断是否是主键 { public bool PrimaryKey = false; public string Type = null; } //完成个实体类: public class St 阅读全文
posted @ 2018-10-30 07:57 Super飞 阅读(508) 评论(0) 推荐(0)
 

2018年10月29日

___Jquery多选框的取值及反显数据
摘要: Jquery操作 var arr = new Array(); $("input:checkbox[name='checkbox']:checked").each(function (i) { arr[i] = $(this).val(); }); var vals = arr.join(","); 阅读全文
posted @ 2018-10-29 19:30 Super飞 阅读(1017) 评论(0) 推荐(0)
 
___Json帮助类
摘要: using Newtonsoft.Json;using Newtonsoft.Json.Converters;using Newtonsoft.Json.Linq;using System.Collections.Generic;using System.Data; namespace LeaRun 阅读全文
posted @ 2018-10-29 19:29 Super飞 阅读(149) 评论(0) 推荐(0)
 
___正则验证帮助类
摘要: using System.Collections.Generic;using System.IO;using System.Net;using System.Text;using System.Web;using System;using System.Text.RegularExpressions 阅读全文
posted @ 2018-10-29 19:28 Super飞 阅读(184) 评论(0) 推荐(0)
 
___树形菜单Ztree.js显示.
摘要: 视图@{ Layout = null;} <!DOCTYPE html><HTML><HEAD> <TITLE> ZTREE DEMO - beforeEditName / beforeRemove / onRemove / beforeRename / onRename</TITLE> <meta 阅读全文
posted @ 2018-10-29 19:25 Super飞 阅读(214) 评论(0) 推荐(1)
 
___简单的MVC单个图片上传预览
摘要: js: $("#btnImg").click(function () { $("#form0").ajaxSubmit({ url: "/Student/Img", type: "post", success: Math, }) return false; }) function Math(data 阅读全文
posted @ 2018-10-29 19:25 Super飞 阅读(189) 评论(0) 推荐(0)
 
___枚举帮助类及_如何使用
摘要: 帮助类 using System;using System.Collections.Generic;using System.ComponentModel;using System.Linq;using System.Web; namespace WebApplication5{ public cl 阅读全文
posted @ 2018-10-29 19:17 Super飞 阅读(453) 评论(0) 推荐(1)
 
___Html页面使用Ajax做数据显示
摘要: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> 阅读全文
posted @ 2018-10-29 19:13 Super飞 阅读(2145) 评论(1) 推荐(0)
 
上一页 1 2 3 下一页