会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
酱香蜜雪粮液
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
25
下一页
2014年7月6日
数据库授权操作
摘要: use dbnamego--1.1 添加登录用户和密码 EXEC sp_addlogin N'testlogin','123456' --1.2 使其成为当前数据库的合法用户 EXEC sp_grantdbaccess N'testlogin'--2.设置操作授权 --2.1 授予对自己数...
阅读全文
posted @ 2014-07-06 16:01 蜜雪粮液
阅读(4348)
评论(0)
推荐(0)
2014年6月28日
c# 动态调用.net编写的webservices接口
摘要: 创建类WebServiceHelper:public class WebServiceHelper { #region 动态调用WebService动态调用地址 /// /// 动态调用web服务 ...
阅读全文
posted @ 2014-06-28 17:08 蜜雪粮液
阅读(16943)
评论(4)
推荐(2)
2014年6月10日
窗体彻底关闭事件FormClosed
摘要: //Application.Exit()是退出整个应用程序 Application.ExitThread();//强制中止调用线程上的所有消息,同样面临其它线程无法正确退出的问题 System.Diagnostics.Process...
阅读全文
posted @ 2014-06-10 15:39 蜜雪粮液
阅读(3791)
评论(0)
推荐(0)
获取手机号码归属地
摘要: 通过webservices接口获取手机号码归属地:引用webservices地址:http://api.showji.com/locating/Mobile.asmx主要代码:using System;using System.Collections.Generic;using System.Com...
阅读全文
posted @ 2014-06-10 15:03 蜜雪粮液
阅读(5537)
评论(1)
推荐(0)
2014年6月6日
读取xml中的指定节点的值
摘要: /// /// 读取xml中的指定节点的值 /// private string ReadXmlNode(string filename) { string result = "-1"; ...
阅读全文
posted @ 2014-06-06 15:20 蜜雪粮液
阅读(14051)
评论(0)
推荐(0)
2014年5月24日
多个手机号逗号分开
摘要: #region 测试 数组类型的 string[] mobiles = new string[] { "18975887650", "18775887650", "18977487650", "18975887512" }; /// /// 循环获取多个手机...
阅读全文
posted @ 2014-05-24 17:04 蜜雪粮液
阅读(1443)
评论(0)
推荐(0)
字符转码
摘要: #region 字符转码 /// /// 对指定字符串进行URL标准化转码 中文字符串转换成UTF-8 /// /// /// /// public static string UrlEncode(strin...
阅读全文
posted @ 2014-05-24 16:55 蜜雪粮液
阅读(2323)
评论(0)
推荐(0)
短信发送AZDG加密算法
摘要: Username:用户名,采用AZDG加密方式进行加密Passwrod:密码,采用AZDG加密方式进行加密密钥为:chinagdn /// /// 短信发送AZDG加密算法 /// /// 加密字符串 /// 私有密钥 /// ...
阅读全文
posted @ 2014-05-24 15:15 蜜雪粮液
阅读(2596)
评论(4)
推荐(2)
2014年5月20日
判断手机所属三大运营商 移动、联通、电信
摘要: 中国移动服务网号 "134", "135", "136", "137","138", "139", "147","150", "151", "152", "157", "158", "159", "182","183","184", "187", "
阅读全文
posted @ 2014-05-20 16:23 蜜雪粮液
阅读(2062)
评论(0)
推荐(0)
2014年5月10日
MD5加密 时间差 流水号等方法
摘要: /// /// 使用TimeSpan计算两个时间差 /// /// /// /// Subtract:从中减去另一个TimeSpan值 private string DateDiff(Dat...
阅读全文
posted @ 2014-05-10 17:11 蜜雪粮液
阅读(2972)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
25
下一页
公告