06 2020 档案
摘要:[HttpGet] [Route("api/GetWuLianWang")] public List<WuLianWangInfo> WlWinfos(string name = "") { //定义变量list接受返回的集合 var list = new List<WuLianWangInfo>(
阅读全文
摘要:redis+红包队列 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using ServiceStack.Redis;nam
阅读全文
摘要:邮件发送的页面 <!DOCTYPE html><html><head> <meta charset="utf-8" /> <link href="bootstrap-3.3.7/css/bootstrap.css" rel="stylesheet" /> <script src="Scripts/j
阅读全文
摘要:类别 /// <summary> /// 用户类 /// </summary> [Table("TB_User")] public class UserModel { [Key] public int UId { get; set; } public int UName { get; set; }
阅读全文
摘要:@model IEnumerable<G6.Model.UserModel> @{ Layout = null;} <!DOCTYPE html> <html><head> <meta name="viewport" content="width=device-width" /> <title>In
阅读全文
摘要://获取泛型T的类型 Type type = typeof(T); //循环获取到的数据的行 for (int i = 0; i < dt.Rows.Count; i++) { //实例化获取到的类 object obj = Activator.CreateInstance(type); //循环获
阅读全文
摘要:Contorller中 using System;using System.Collections.Generic;using System.Linq;using System.Threading.Tasks;using G3.IDAL;using G6.Model;using Microsoft.
阅读全文
摘要:SqlDal中public int AddUser<T>(T model) where T : class, new() { return connection.Execute(GetSQLStr<T>(model)); } public List<T> GetList<T>() where T :
阅读全文
摘要:/// <summary> /// 数值验证码 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Button1_Click(object sender, EventA
阅读全文

浙公网安备 33010602011771号