会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
冬暖s
博客园
首页
新随笔
联系
订阅
管理
2020年8月6日
Dapper的简单操作
摘要: Dapper的用法与DBHelper的用法有些许类似,便于记忆理解。 //数据库连接字符串 string connStr = "Data Source=.;Initial Catalog=MonthTest;Integrated Security=True"; //Dapper添加 [HttpPos
阅读全文
posted @ 2020-08-06 17:31 冬暖s
阅读(132)
评论(0)
推荐(0)
2020年8月5日
SQLServer简单分页存储过程的写法
摘要: 写法一: create proc p_page(@name varchar(50),--模糊查询@index int, --当前页@size int, --大小@total int out, --总记录数@count int out --总页数)asbegin --首先对当前页判断 既不能小于1也不
阅读全文
posted @ 2020-08-05 19:43 冬暖s
阅读(990)
评论(0)
推荐(0)
2020年7月22日
ADO.NET API+MVC实现文件上传及文件下载
摘要: 文件上传: API内容: /// <summary> /// 文件上传 /// </summary> /// <returns></returns> [HttpPost] public int Upload() { if (HttpContext.Current.Request.Files.Coun
阅读全文
posted @ 2020-07-22 19:42 冬暖s
阅读(227)
评论(0)
推荐(0)
ASP.NET MVC+ajax实现文件上传及文件下载
摘要: 文件上传: 视图 view: @{ ViewBag.Title = "Index";} <h2>文件管理</h2> <form enctype="multipart/form-data"> <input id="F1" type="file" /> <input id="Button1" type=
阅读全文
posted @ 2020-07-22 15:37 冬暖s
阅读(818)
评论(0)
推荐(0)
2020年6月30日
js实现cookie读写的简单操作
摘要: @{ ViewBag.Title = "Index1";} <h2>Index1</h2> <input id="Button1" type="button" value="加入" onclick="save()" /><input id="Button1" type="button" value=
阅读全文
posted @ 2020-06-30 20:55 冬暖s
阅读(583)
评论(0)
推荐(0)
2020年6月19日
数据库 DML、DDL、DCL的简单介绍
摘要: DDL (Data Definition Language 数据定义语言) 主要是对于数据库中表的一些操作 包括 create table 创建表 alter table 修改表 drop table 删除表 truncate table 删除表中所有行 DML (Data Manipulation
阅读全文
posted @ 2020-06-19 14:49 冬暖s
阅读(107)
评论(0)
推荐(2)
公告