上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: public void getArray() { string[] str = new string[] {"1","2","3","4","5" }; List strList = new List(); for (i... 阅读全文
posted @ 2014-12-15 18:04 临冰听雪丶 阅读(149) 评论(0) 推荐(0) 编辑
摘要: //SHA1 static public string SHA1_Hash(string str_sha1_in) { SHA1 sha1 = new SHA1CryptoServiceProvider(); byte[]... 阅读全文
posted @ 2014-12-15 15:58 临冰听雪丶 阅读(217) 评论(0) 推荐(0) 编辑
摘要: byte[] by = Encoding.Default.GetBytes("000000"); by = new MD5CryptoServiceProvider().ComputeHash(by); string text1 = ""; ... 阅读全文
posted @ 2014-12-15 15:20 临冰听雪丶 阅读(158) 评论(0) 推荐(0) 编辑
摘要: public class sqlservershiwu { public string sqlconString = "Data Source=.;Initial Catalog=TestDB;User ID=sa;Password=123456789"; pub... 阅读全文
posted @ 2014-12-12 17:22 临冰听雪丶 阅读(139) 评论(0) 推荐(0) 编辑
摘要: public class sqlbulkcopyClass { public string sqlconString = "Data Source=.;Initial Catalog=TestDB;User ID=sa;Password=123456789"; p... 阅读全文
posted @ 2014-12-12 16:30 临冰听雪丶 阅读(206) 评论(0) 推荐(0) 编辑
摘要: Common:FileIO.csusing System;using System.Collections.Generic;//using System.Linq;using System.Web;using System.IO;using System.Text;namespace SMS.Uti... 阅读全文
posted @ 2014-12-09 17:27 临冰听雪丶 阅读(1766) 评论(1) 推荐(0) 编辑
摘要: 首先,我们需要从数据库中取到我们的数据Class1: 1 string sqlcon = "Data Source=.;Initial Catalog=Test;User ID=sa;Password=******"; 2 3 public List FindAll() 4 ... 阅读全文
posted @ 2014-12-03 01:01 临冰听雪丶 阅读(1093) 评论(0) 推荐(0) 编辑
摘要: 1 public static int Accum(int m, int n) 2 { 3 //对于接受的参数,要考虑m >n,m=n,m n)11 {12 return (m + A... 阅读全文
posted @ 2014-12-02 23:11 临冰听雪丶 阅读(3394) 评论(0) 推荐(0) 编辑
摘要: 1 //排序2 List list = new List() { "B", "A", "E" };3 list.Sort();4 foreach (string s in list)5 ... 阅读全文
posted @ 2014-12-02 22:54 临冰听雪丶 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 1 $.ajax({ 2 url: "/Handler/CheckName", 3 type: "post", 4 async: false, 5 data: { name: name }, 6 ... 阅读全文
posted @ 2014-11-20 14:11 临冰听雪丶 阅读(223) 评论(1) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 下一页