- 博客(11)
- 资源 (6)
- 收藏
- 关注
原创 spring-data-mongodb 对于collection的upsert操作
项目中用MongoTemplate实现对mongodb的操作配置如下: <mongo:db-factory dbname="fenqigo" mongo-ref="mongo" write-concern="SAFE" /> 在使用的时候 对collection某个属性的upsert很方便,但是对于collection本身的upsert操作tem
2014-12-30 12:21:12
7354
2
原创 jquery 1.6以后attr对于checked不起作用,其替代方法为prop
jquery 1.6以后attr对于checked不起作用,其替代方法为prop.prop()Categories: Attributes | Manipulation > General AttributesGet the value of a property for the first element in the set of matched eleme
2014-12-30 12:01:30
2354
转载 sql跨服务器操作
EXEC sp_addlinkedserver @server='DBVIP',--被访问的服务器别名(任意的名称) @srvproduct='', @provider='SQLOLEDB', @datasrc='MYSQLServer' --要访问的服务器(SQL SERVER实例名)EXEC sp_addlinkedsrvlogin
2012-09-25 16:44:26
1015
原创 Js string 添加trim()方法
Function.prototype.method = function (name, func) { this.prototype[name] = func; return this; }; String.method("trim", function () { return t
2012-06-23 21:20:06
993
原创 ADO。net
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.Common;using System.Configuration;using System.Data.SqlClient;using System
2012-04-23 10:00:37
466
原创 辞职报告
尊敬的领导、经理: 您们好! 我很遗憾自己在这个时候向公司提出辞职。 来到公司差不多一年了,在这很感谢各位领导的教导和照顾,在公司里获得了一个又一个很好的学习机会,让我在踏进社会后第一次有了归属的感觉。利用公司给予良好学习和锻炼时间,学习了一些新的东西来充实了自己,并增加自己的一些知识和实践经验。我对于公司这么长时间的照顾表示真心的感谢!今天我选择离开并不是我对现在的工作畏惧,承受能力
2012-04-22 22:17:28
1010
原创 C# Dom方式读取 xml
private void AnalyzeXml(FileInfo xmlFile, ref Dictionary dicXmlContents) { XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load(xmlFile.FullName);
2012-03-22 15:57:33
1727
原创 C#读取XML 练习2
using System;using System.Collections.Generic;using System.IO;using System.Xml;namespace ReadXml{ class Program { static void Main(string[] args) { Dictionary
2012-03-22 15:07:41
627
原创 一个读XML的练习
using System;using System.Collections.Generic;using System.IO;using System.Xml;namespace ReadXml{ class Program { static void Main(string[] args) { Dictionary
2012-03-22 14:25:59
644
原创 日文全角转半角
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication2{ class Program { static void Main(string[] args) {
2012-02-01 16:17:21
6154
原创 C#遍历文件夹及其子目录
using System;using System.Collections;using System.Collections.Generic;using System.IO;using System.Security.AccessControl;using System.Text;namespace ConsoleApplication1{ class Program
2012-01-30 12:55:19
12152
1
Apress.Pro.CSharp.2010.and.the.dotNET.4.Platform.5th.Edition
2011-09-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人