摘要:
var vm=this; 取值 vm.$route.query.uid 方法跳转传参 this.$router.push({ path: '/game_user/user_geninfo', query: { uid: this.$route.query.uid }}); router-link传值 阅读全文
摘要:
//将202004这样的格式转换为时间格式 DateTime date = DateTime.ParseExact(datetime, "yyyyMM", System.Globalization.CultureInfo.CurrentCulture); //本月天数 int days = Date 阅读全文
摘要:
public ReturnModel GetStudent(string json) { ParamsModel model = JsonConvert.DeserializeObject<ParamsModel>(json); //连接对象 using (SqlConnection conn = 阅读全文
摘要:
API 控制器1 主要用于增删改查已经反填数据查询 using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Net; using Syst 阅读全文
摘要:
@{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Add</title> <link href="~/layui/css/lay 阅读全文
摘要:
@{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Index</title> <link href="~/layui/css/l 阅读全文
摘要:
修改App_Start文件夹中的WebApiConfig文件里的Register方法 public static void Register(HttpConfiguration config) { // Web API 配置和服务 GlobalConfiguration.Configuration. 阅读全文
摘要:
//控制器using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.IO;//上传文件的数据流 namespace U 阅读全文
摘要:
select UId,UName,stuff((select ','+RName from USER_SHOW where a.UId = UId for xml path('')),1,1,'') as RName from USER_SHOW as a group by UId,UName 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Dapper; using System.Data.SqlClient; 阅读全文