摘要: <div> <form action="/Emp/Excel" method="post" enctype="multipart/form-data"> 选择文件:<input id="exceFile" name="excelFile" type="file" /> <input type="su 阅读全文
posted @ 2018-11-22 10:26 或三撇 阅读(951) 评论(3) 推荐(0) 编辑
摘要: <table> <tr> <td>性别</td> <td><input type="radio" value="男" name="txtSsex" checked="checked" />男<input type="radio" value="女" name="txtSsex" />女</td> < 阅读全文
posted @ 2018-11-19 08:06 或三撇 阅读(601) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 显示+分页+模糊查询 /// </summary> /// <param name="pageindex"></param> /// <param name="pagesize"></param> /// <param name="name"></param> / 阅读全文
posted @ 2018-11-18 19:21 或三撇 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 声明和表中字段数量相同的变量declare @a nvarchar(50)declare @b nvarchar(50) 创建游标declare aaa cursor for select * from [dbo].[Company] 打开游标open aaa 看一下fetch next from 阅读全文
posted @ 2018-11-16 09:41 或三撇 阅读(310) 评论(0) 推荐(0) 编辑
摘要: create procedure [dbo].[pro_getStu](@pindex int, --最小是1,第1页@psize int,@name nvarchar,@dbcount int out--总记录数)asbegin 取符合条件的记录信息总数量declare @Sqlcount NVA 阅读全文
posted @ 2018-11-16 09:39 或三撇 阅读(263) 评论(0) 推荐(0) 编辑
摘要: select [Uid],[Usname],[Uname],[Urole],[Upicture] from Us create proc Upage(@pageindex int, 当前页@pagesize int, 显示几条@pagecount int out, 总条数@name varchar( 阅读全文
posted @ 2018-11-16 09:29 或三撇 阅读(327) 评论(1) 推荐(0) 编辑