摘要:
按下面步骤一步一步操作即可完成效果,效果图:第一步:SQL构造测试数据1.创建一个产生随机数据的SQL函数:CREATE FUNCTION [GenerateRandomName] ( @LENGTH INT )
RETURNS NVARCHAR(255)
AS BEGIN --DECLARE VARIABLES DECLARE @RandomNumber NVARCHAR(255) DECLARE @I SMALLINT DECLARE @RandNumber FLOAT DECLARE @Position T... 阅读全文
posted @ 2011-12-15 20:03
清山博客
阅读(5185)
评论(0)
推荐(1)
摘要:
nt32. Parse (string)Int32.Parse (string str) method converts the string representation of a number to its 32-bit signed integer equivalent. It takes a string and tries to extract an integer from it and returns the integer. When s is a null reference, it will throwArgumentNullException. If str is not 阅读全文
posted @ 2011-12-15 16:49
清山博客
阅读(1479)
评论(0)
推荐(0)
摘要:
namespace Framework
{ using System; using System.Collections; using System.IO; using KTDictSeg; /// <summary> /// 关键字辅助类 /// </summary> public class KeyWordHelper { public static CSimpleDictSeg m_SimpleDictSeg; /// <summary> /// 提取关键字 ... 阅读全文
posted @ 2011-12-15 13:21
清山博客
阅读(701)
评论(0)
推荐(0)
摘要:
namespace Framework
{ using System; using System.Globalization; using System.Text; /// <summary> /// 随机数辅助类 /// </summary> public sealed class RandomHelper { private static readonly char[] RandChar = { '0', '1', '2', '3', '4', '5', '6 阅读全文
posted @ 2011-12-15 13:18
清山博客
阅读(391)
评论(0)
推荐(0)
摘要:
using System;
using System.Collections.Generic; using System.Text;
using System.Globalization;
using System.Text.RegularExpressions; namespace Framework
{ /// <summary> /// 字符串辅助类 /// </summary> public static class StringHelper { /// <summary> /// 截取字符串的后部分 ... 阅读全文
posted @ 2011-12-15 13:17
清山博客
阅读(1130)
评论(0)
推荐(0)
摘要:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Collections; namespace Framework
{ /// <summary> /// 将xml转换为json /// </summary> public class XmlToJson { /// <summary> /// 将xml转换为json ///... 阅读全文
posted @ 2011-12-15 13:15
清山博客
阅读(6327)
评论(0)
推荐(0)
摘要:
using System;
using System.Collections.Generic; using System.Text;
using System.Net;
using System.IO;
using Newtonsoft.Json;
using System.Web; namespace Framework
{ /// <summary> /// 语言翻译类 /// </summary> public class Translater { /// <summary> /// 翻译方法 中文:"zh-cn... 阅读全文
posted @ 2011-12-15 13:14
清山博客
阅读(541)
评论(0)
推荐(0)
摘要:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
using System.Net; namespace Framework
{ /// <summary> /// 网页采集辅助类 /// </summary> public static class CollectionHelper { /// <summa... 阅读全文
posted @ 2011-12-15 13:12
清山博客
阅读(492)
评论(0)
推荐(0)