我想找到D盘里面所有 "*.pst文件,类似 windows 下的磁盘搜索功能,using
System.IO;Directory.GetFiles(@"d:\", "*.pst",
SearchOption.AllDirectories)测试环境为win7 提示说 某某目录没有访问权限。获得文件属...
分类:
其他好文 时间:
2014-05-05 11:37:06
阅读次数:
309
Mysql ON子句和USING子句Mysql
中联接SQL语句中,ON子句的语法格式为:table1.column_name =
table2.column_name。当模式设计对联接表的列采用了相同的命名样式时,就可以使用 USING 语法来简化 ON
语法,格式为:USING(column_n...
分类:
数据库 时间:
2014-05-05 11:31:31
阅读次数:
429
ashx里使用session添加命名空间using
System.Web.SessionState;实现一个接口 IRequiresSessionState
分类:
其他好文 时间:
2014-05-05 11:20:51
阅读次数:
278
首先这种情况出现在应用程序启动前的方法里面。本想通过发射来实现一些功能。谁知道被这个坑了。碰到这种问题。已经相当无语了。同时也不知道该如何解决。望有能之士帮忙解答using
System;using System.IO;using System.Linq;using System.Reflectio...
分类:
Web程序 时间:
2014-05-04 20:24:23
阅读次数:
433
参考地址:http://loianegroner.com/2010/03/importing-an-excel-spreadsheet-into-an-extjs-datagrid-using-datadrop-grid-plugin/演示例子:https://github.com/loiane/e...
分类:
Web程序 时间:
2014-05-04 19:39:57
阅读次数:
403
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Web;using System.Collections.Specialized;namespace NewX...
分类:
Web程序 时间:
2014-05-04 19:04:08
阅读次数:
437
行编辑程序、括号匹配检验程序都是利用的栈的数据结构。而这两个
小程序也非常好的显示了栈先进后出的思想。由于程序本身很简短、清晰,所
以也就不做多的解释了,直接上代码了。
行编辑程序:
#include
#include
using namespace std;
int main()
{
stack sta;
char ch = getchar();
while(ch!=EOF)
...
分类:
其他好文 时间:
2014-05-04 18:55:11
阅读次数:
423
#include "stdafx.h"
#include
#include
#include
using namespace msclr::interop;
using namespace System;
int main(array ^args)
{
// 为了可以打印wstring到控制台
std::wcout.imbue(std::locale("chs"));
// 声明...
分类:
编程语言 时间:
2014-05-04 18:30:58
阅读次数:
418
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1015
深搜简单题
代码如下:
#include
#include
#include
#include
using namespace std;
string a;
int t;
int v,w,x,y,z;
int vis[20];
int b[6];
int flag;
int cmp(int...
分类:
其他好文 时间:
2014-05-04 18:09:00
阅读次数:
352
题意:
给定n个物品 m元,k种商品
下面n行 tpye w v 表示物品的牌子,价格,价值(每个物品只有1件)
问:每个牌子至少买一件能获得的最大价值是多少
思路:分组背包
#include
#include
#include
#include
#include
using namespace std;
#define ll int
ll n, m, k;
l...
分类:
其他好文 时间:
2014-05-04 18:03:15
阅读次数:
248