摘要: set ANSI_NULLS ONset QUOTED_IDENTIFIER ONGO/** create by huang qing* modify by chaoxueling* modify date 2013-05-15*/ALTER PROCEDURE [dbo].[sp_GetPropsTop_ByPropsCount]@PageIndexint,@PageSizeint,@OrderTypeintASBEGINif(@OrderType=1)beginwith Mem_TbUserPropsTop as(select A.*,b.PropsCountB,ROW_NUMBER() 阅读全文
posted @ 2013-05-14 14:27 (二少)在南极 阅读(8040) 评论(0) 推荐(0) 编辑
摘要: <style type="text/css"> *{margin:0;padding:0;list-style-type:none;}body{font:12px/180% Arial, Helvetica, sans-serif,"宋体";}a,img{border:0;}a{color:#5e5e5e;text-decoration:none;}a:hover{color:#3366cc;text-decoration:underline;}/* box */.box{position:absolute;width:600px;left: 阅读全文
posted @ 2013-04-24 22:29 (二少)在南极 阅读(1222) 评论(1) 推荐(0) 编辑
摘要: function AjaxMethod() { //this.init.apply(this, arguments); } AjaxMethod.prototype = { init: function() { debugger; }, GetJson: function() { jQuery.getJSON( "Json.ashx", { name: 'test', age: 32 }, function(data) { debugger; var txt = eval(data); //var obj = data.toJSONString(); //由 阅读全文
posted @ 2013-04-20 14:45 (二少)在南极 阅读(3003) 评论(0) 推荐(0) 编辑
摘要: private static void perm(int[] list, int i, int n) { int j; if (i == n) { for (int m = 0; m < list.GetUpperBound(0) + 1; m++) { Console.Write(list[m]); } Console.WriteLine(" "); } else { for (j = i; j <= n; j++) { SWAP(ref list[i], ref list[j]); perm(list, i + 1, n); SWAP(ref list[i] 阅读全文
posted @ 2012-12-03 16:14 (二少)在南极 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 在dataBase 菜单下Edit current DBMS-在Script\Objects\Table\TableComment和Script\Objects\Column\ColumnComment位置的直修改如下表的修改如下:EXECUTE sp_addextendedproperty N'MS_Description', N'%COMMENT%', N'user', N'dbo', N'table', N'%TABLE%', NULL, NULL列的修改如下:EXECUTE sp_addex 阅读全文
posted @ 2012-11-26 16:38 (二少)在南极 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 由于表达能力太差,直接上代码..List<Serializationcs.Student> list = new List<Serializationcs.Student>(); list.Add(new Serializationcs.Student { Age=12,Name="test",No="1232" }); list.Add(new Serializationcs.Student { Age = 34, Name = "testtest", No = "444" }); Ser 阅读全文
posted @ 2012-11-23 15:37 (二少)在南极 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 直接上代码大家一看就明白了... // xml容器有xmldocuent ,xdocument .xpathdocument/// /////// xml 加载文件方式分为三种 一,直接xmldoc.load(path) 二.xmldoc.loadxml(string text),三.xmldoc.load(stream strem)/////// //用linq 加载操作xml/// var doc1 = XDocument.Load(Server.MapPath("Test.xml")); string path = Server.MapPath("Test. 阅读全文
posted @ 2012-11-23 14:21 (二少)在南极 阅读(346) 评论(0) 推荐(0) 编辑
摘要: var options = { type: "POST", url: "/WEPM.OA.Web/OAHandler.ashx?Type=Grade&ProjectID=" + ProjectID + "&Batch=" + Batch, contextType: "application/json; charset=utf-8", dataType: "json", success: function(response) { jQuery("#CountNumber& 阅读全文
posted @ 2012-11-21 10:26 (二少)在南极 阅读(1767) 评论(0) 推荐(0) 编辑
摘要: public static void SortOrder(int[] arrlist) { int temp; for (int i = arrlist.GetUpperBound(0); i >= 1; i--) { for (int j = 0; j < arrlist.GetUpperBound(0) - 1; j++) { if (arrlist[j] > arrlist[j + 1]) { temp = arrlist[j]; arrlist[j] = arrlist[j + 1]; arrlist[j + 1] = temp; } } } } public sta 阅读全文
posted @ 2012-11-16 18:51 (二少)在南极 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Select o.name AS tableName, c.name AS columnName, p.[value] AS DescriptionFROM sys.extended_properties p inner JOIN sysobjects oON o.id = p.major_id inner JOIN syscolumns c ON p.minor_id = c.colid and o.id=c.idAND (o.name = 'ActualReturnMoney')order BY o.name 阅读全文
posted @ 2012-10-26 17:54 (二少)在南极 阅读(155) 评论(0) 推荐(0) 编辑