![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
我的经验
10年老猿
这个作者很懒,什么都没留下…
展开
-
我的[藏文语音驾考]开发运营经验
[藏文语音驾考]从研发到上线运营过程中遇到的那些大坑,分享给后来的藏文应用开发者原创 2015-10-28 21:34:05 · 589 阅读 · 0 评论 -
.net c# md5加密实现
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Security.Cryptography;using System.Text;namespace Common.DBHelper{ public class TMD5 { ...原创 2018-10-26 16:05:12 · 192 阅读 · 0 评论 -
c# .net oracle连接工具类
该类为本人项目使用中的oracle连接工具类1.先引入OraOps10.dll2.将该类加入项目中dll及源码下载地址https://pan.baidu.com/s/1aoFHKG5C1iQThC4rpZ6M_w源码如下using System;using System.Collections.Generic;using System.Text;using Syst...原创 2018-10-26 15:57:21 · 1313 阅读 · 0 评论 -
c# .net 正则表达式验证sql非法字符串,防止sql注入
老铁,就一句代码Regex.IsMatch(sWord.ToLower(), "/response|group_concat|cmd|sysdate|xor|declare|db_name|char| and| or|truncate| asc| desc|drop |table|count|from|select|insert|update|delete|union|into|load_fi...原创 2018-10-26 15:20:55 · 3166 阅读 · 2 评论 -
c# .net 反射技术
在项目中有时候会碰到需要通过反射技术进行方法调用的情况 /// <summary> /// 反射 /// </summary> /// <param name="mMethodName">方法名</param> private void DoInvoke(String mMetho...原创 2018-10-26 15:13:46 · 179 阅读 · 0 评论 -
c# .net批量修改文件内容
项目中会碰到需要批量替换修改html、txt等文件的内容,以下贴出我的一个工具类 //读取需要替换的文本 String pathTemp = System.Environment.CurrentDirectory + "\\temp.html"; String html = File.ReadAllText(@pathTe...原创 2018-10-26 15:03:15 · 1751 阅读 · 0 评论 -
.net使用webBrowser爬取页面标签内容,简单爬虫的几个关键方法
在.net中 可能会碰到需要使用webBrowser进行网页标签的操作的情况,下面介绍几个常用方法,仅供参考特别说明wb_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)需要给webBrowser控件添加该事件的监听,用来监听浏览器加载完毕后需要进行的操作//获取页面所有的div元素Html...原创 2018-10-26 14:55:54 · 1617 阅读 · 0 评论 -
.net模拟http请求
在项目中会碰到需要调用网址get或者post数据的情况,下面就贴下我常用的方法using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.IO;using System.Web;using LitJson;nam...原创 2018-10-26 14:43:08 · 1209 阅读 · 0 评论 -
c# .net mysql数据库连接工具类
在.net项目中经常碰到需要连接mysql数据库的情况,在这里贴出一个项目中用到的mysql连接工具类1.首先引入mysql连接所需的dll文件,具体下载链接如下https://pan.baidu.com/s/1XPtHfLFAT26HKlXA4RK8NQ2.工具类代码如下using System;using System.Collections.Generic;using ...原创 2018-10-26 14:35:52 · 2417 阅读 · 1 评论 -
c#.net 如何使用ffmpeg截图
在.net项目中经常遇到上传完视频需要自动对某一帧进行截图,这里贴出使用ffmpeg进行自动截图的方法首先下载ffmpeg.exe文件https://pan.baidu.com/s/1GS9ISoZvKfs9GA7_szvvlw具体写法如下String from = "C:\\WWW\\1530423892.mp4";String to = "C:\\WWW\\153042389...原创 2018-10-26 14:12:11 · 1663 阅读 · 0 评论 -
js 实现aes加密
下载以下js库,添加到项目https://pan.baidu.com/s/10ZmJJUib-MMMVarHk4nH2A在页面如下引入 <script type="text/javascript" src="js/components/core-min.js"></script> <script type="text/javascript" ...原创 2018-10-26 16:13:41 · 7826 阅读 · 0 评论