12 2011 档案

摘要:1. 申请合作伙伴ID (PID),Key (PKey)2. 发送请求 https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=100000353&redirect_uri=http://www.wodongni.com/loginReturn.aspx redirect_uri:回传URL client_id: 合作伙伴ID (PID) 返回: string code = Request.QueryString["code"];3. https://graph.qq.com/ 阅读全文
posted @ 2011-12-23 14:43 Rhythmk 阅读(3563) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace TheStoryOfCat{ class Program { static void Main(string[] args) { Cat cat = new Cat() { Name = "Petal" }; Mouse mouse = new Mouse() { Name = "Jack" }; cat.C... 阅读全文
posted @ 2011-12-14 15:21 Rhythmk 阅读(414) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Net.Sockets;using System.IO;namespace ConsoleAppHttpListener{ /// <summary> /// 监听HTTP 请求 By Rhythmk /// </summary> class Program { static void Main(string[] args) ... 阅读全文
posted @ 2011-12-12 12:30 Rhythmk 阅读(6353) 评论(1) 推荐(0) 编辑
摘要:using Aspose.Words; string tmppath = Server.MapPath("~/TestWord.doc"); Document doc = new Document(tmppath); //载入模板 if (doc.Range.Bookmarks["Rhythmk"] != null) { Bookmark mark = doc.Range.Bookmarks["Rhythmk"]; mark.Text = "张三公司"; } doc.... 阅读全文
posted @ 2011-12-05 12:43 Rhythmk 阅读(31515) 评论(8) 推荐(3) 编辑
摘要:---------SQL SERVER -------------------- 获取用户表select id,name from sysobjects where xtype='U'and name<>'dtproperties' order by name---- 获取用户存储过程select id,name from sysobjects where xtype='P'and name<>'dtproperties' order by name--- 获取用户视图select id,name from 阅读全文
posted @ 2011-12-05 10:58 Rhythmk 阅读(273) 评论(0) 推荐(0) 编辑

Rhythmk 个人笔记
点击右上角即可分享
微信分享提示