上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: using System; using System.Data; using System.Text.RegularExpressions; using System.Xml; using System.IO; using System.Collections; using System.Data.SQLite; using System.Configuration;//添加.net引用 namespace Tools.Common { /// <summary> /// 对SQLite操作的类 /// 引用:System.Data.SQLite.dll【版本:3.6.... 阅读全文
posted @ 2013-01-18 12:08 真爱无限 阅读(992) 评论(0) 推荐(0) 编辑
摘要: public string ToString(UserGiftCardModel model) { if (model == null) return ""; string sb = ""; Type type =model.GetType() ;//assembly.GetType("Reflect_test.PurchaseOrderHeadManageModel", true, true); //命名空间名称 + 类名 //创建类的实例 //o... 阅读全文
posted @ 2013-01-17 17:22 真爱无限 阅读(1248) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { Console.WriteLine("本程序去掉当前目录及子目录下的文件前缀"); Console.Write("请输入要去掉的前缀:"); string stringFront = Console.ReadLine(); if (stringFront != "") { string dir = AppDomain.CurrentDomain.BaseDir... 阅读全文
posted @ 2013-01-15 10:54 真爱无限 阅读(526) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> //父窗体中打开模式窗口 function SelectClient(ctlName) { var arr = showModalDialog('ClientList.aspx?TypeSelect=ClientType_qy&ClientOwner=' +154 + '&DefaultValue=' + document.getElementById(ctlName).value, '', 'dialogWidth:600px 阅读全文
posted @ 2012-12-26 16:15 真爱无限 阅读(517) 评论(0) 推荐(0) 编辑
摘要: <html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script> <script type="text/javascript"> $(function () { $(" 阅读全文
posted @ 2012-12-20 21:01 真爱无限 阅读(663) 评论(0) 推荐(0) 编辑
摘要: ed2k://|file|cn_win_srv_2003_r2_enterprise_x64_with_sp2_vl_cd1_X13-47314.iso|647686144|107F10D2A7FF12FFF0602FF60602BB37|/ed2k://|file|cn_win_srv_2003_r2_enterprise_x64_with_sp2_vl_cd2_X13-35321.iso|179204096|651EDB26E33E1AD0F14430245D4D44C6|/序列号:RYCR6-T7Y6M-2TVHK-C2YW3-7TYQ8 阅读全文
posted @ 2012-11-04 10:54 真爱无限 阅读(431) 评论(0) 推荐(0) 编辑
摘要: //iotool.c#include <stdio.h>int inputInt(const char *info){ int r; printf("%s:",info); scanf("%d",&r); return r;}graphic.c#include <stdio.h>void diamond(int r){ int x,y; for(y=0;y<=2*r;y++) { for(x=0;x<=2*r;x++) { if(y==x+r || y==x-r || y==-x+r || y==-x+3*r) 阅读全文
posted @ 2012-10-27 15:35 真爱无限 阅读(292) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { try { replacefile rf = new replacefile(); rf.doReplace(@"F:\c1"); rf.doReplace(@"F:\c2"); rf.doReplace(@"F:\c3"); Console.WriteLine(... 阅读全文
posted @ 2012-10-27 14:17 真爱无限 阅读(556) 评论(0) 推荐(0) 编辑
摘要: iterator.cpp/*迭代器输入:可读,不一定可改值输出:可改,不一定可读值前向:可读可改双向:支持 --随机:支持--、+n、-n、下标访问*/#include<iterator>#include<iostream>using namespace std;#include<algorithm>#include<vector>#include "print.h"#include<fstream>int main(){ //输入迭代 istream_iterator<int> in(cin);//输 阅读全文
posted @ 2012-10-26 09:27 真爱无限 阅读(304) 评论(0) 推荐(0) 编辑
摘要: //specialcontainer.cpp/*一般容器:stack,queue特殊容器:priority_queue.push(element),.pop(),.empty()stack:.top()queue:.front(),.back()priority_queue:.top()没有迭代器*/#include<iostream>#include<queue>using namespace std;int main(){ priority_queue<int> pq; pq.push(40); pq.push(20); pq.push(10); pq. 阅读全文
posted @ 2012-10-26 08:26 真爱无限 阅读(280) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页