摘要: //图片验证码 private void button3_Click(object sender, EventArgs e) { //定义一个数值的字符串 string sourceCode = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcedfghijklmno 阅读全文
posted @ 2020-07-02 14:03 我们好像在那见过 阅读(157) 评论(0) 推荐(0) 编辑
摘要: private void button1_Click(object sender, EventArgs e) { //1.压缩包的路径及压缩包的名称 //2.解压缩的路径及名称 string rarPath = @"E:\test3.rar";//压缩文件的路径 string extract = @ 阅读全文
posted @ 2020-07-02 11:17 我们好像在那见过 阅读(482) 评论(0) 推荐(0) 编辑
摘要: create PROCEDURE SP_AddRole(in roleName varchar(20),in roleCode VARCHAR(20),in deptId INT)BEGIN/* 事务*/DECLARE _err int DEFAULT 0;DECLARE _Id int defau 阅读全文
posted @ 2020-07-02 11:13 我们好像在那见过 阅读(180) 评论(0) 推荐(0) 编辑
摘要: /*select *from oa.student LIMIT 0,2 limit /*能是常量*//*(当前的页数-1)*pagesize,pagesize*/create PROCEDURE SP_Pager(in PageIndex int,in pageSize int,in strWher 阅读全文
posted @ 2020-07-02 11:12 我们好像在那见过 阅读(144) 评论(0) 推荐(0) 编辑
摘要: //压缩文件夹下的所有文件及文件夹 public void ZipFolders(string path, ZipFile zip, int charLength) { string[] strAry = null; strAry = Directory.GetFiles(path);//压缩文件夹 阅读全文
posted @ 2020-07-02 11:10 我们好像在那见过 阅读(145) 评论(0) 推荐(0) 编辑
摘要: //发送邮件前首先你要有一个邮箱地址, //twtfnyyn@126.com //smtp smtp.126.com //密码: //发送邮件的类 SmtpClient client = new SmtpClient(); //指定发送的方式 client.DeliveryMethod = Smtp 阅读全文
posted @ 2020-07-02 11:08 我们好像在那见过 阅读(256) 评论(0) 推荐(0) 编辑
摘要: ALTER proc [dbo].[Proc_Pager] @TableName VARCHAR(50), --表名 @ReFieldsStr VARCHAR(200) = '*', --字段名(全部字段为*) @OrderString VARCHAR(200), --排序字段(必须) @Where 阅读全文
posted @ 2020-07-02 11:06 我们好像在那见过 阅读(82) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace DAL{ public interface IDAL { 阅读全文
posted @ 2020-07-02 11:03 我们好像在那见过 阅读(164) 评论(0) 推荐(0) 编辑
摘要: <script> $(function () { show(); }); function show() { $.ajax({ url: "http://localhost:61678/api/search", data: null, dataType: "json", type: "get", s 阅读全文
posted @ 2020-07-02 11:00 我们好像在那见过 阅读(94) 评论(0) 推荐(0) 编辑