如果想访问另一台mac电脑的共享文件可以采用这种方法.
1 找到对方的IP;
2 对方开放共享和共享用户设置正确,简单的隐秘方法是使用$用来隐藏共享;
3 按Command+K(Connect to Server),[或者在浏览器中]输入:smb://192.168.22.170/sharename (我分享的文件夹是sharename),如果是隐藏共享,就sharename$,在随后的登陆...
分类:
其他好文 时间:
2014-07-22 23:05:13
阅读次数:
304
string path = Server.MapPath("copycode/code.txt");
string[] allCodeLine = System.IO.File.ReadAllLines(path, System.Text.Encoding.UTF8);
System.Text.StringBuilder strb = new Sys...
分类:
Web程序 时间:
2014-07-22 23:02:54
阅读次数:
366
ADO.NET是ADO的后继版本,主要目的是在.NET Framework中更容易地创建分布式、
数据共享的应用程序,它提供了一个数据访问接口,以便和OLE DB数据源进行通信,如
SQL SERVER.应用程序可以使用ADO.NET连接这些数据源,并检索、处理和更新数据。
可以说ADO.NET是在ADO的基础上,又进一步的扩展,提供了更多新的工具,可以获取...
分类:
Web程序 时间:
2014-07-22 23:02:53
阅读次数:
365
The server network address “TCP://myserverAddress:50221″ cannot be reached or does not exist.
Check the network address name and that the ports for the local and remote endpoints are operational.
(Microsoft SQL Server, Error: 1418)...
分类:
Web程序 时间:
2014-05-01 18:35:53
阅读次数:
665
题目:
Given a sorted (increasing order) array, write an algorithm to create a binary tree with minimal height.
翻译:
给定一个有序数组(递增),写程序构建一棵具有最小高度的二叉树。
思路:
要使二叉树的高度最小,则要尽量使其左右子树的节点数目相当,自然就考虑到将其构造成为二叉排序树,且将有序数组的中间大的数作为根节点,这样得到的二叉树的高度便是最小的。...
分类:
其他好文 时间:
2014-05-01 17:48:45
阅读次数:
321
.h
Text* _displayValueLabel;
void selectedEvent(Ref* pSender,CheckBoxEventType type);
.cpp init()函数
_touchGroup = Layer::create();
addChild(_touchGroup);
Size winSize = ...
分类:
其他好文 时间:
2014-05-01 17:18:48
阅读次数:
453
我采用Database First,用Sql很容易就可以做到对一个表进行压缩。如以下:
CREATE TABLE [dbo].[Entities](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](max) NULL,
Primary Key Clustered ([Id] ASC) WITH (DATA_...
分类:
数据库 时间:
2014-04-30 22:23:39
阅读次数:
436
1、
Text* alert = Text::create("Layout", "fonts/Marker Felt.ttf", 30 );
alert->setColor(Color3B(159, 168, 176));
alert->setPosition(Point(widgetSize.width / 2.0f,...
分类:
其他好文 时间:
2014-04-30 22:23:38
阅读次数:
421
错误环境: Windows Server 2003 Enterprise Edition IIS 6.0错误信息:“/ierp”应用程序中的服务器错误。--------------------------------------------------------------------------------配置错误 说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信...
分类:
其他好文 时间:
2014-04-30 22:17:38
阅读次数:
198
Background:
It's fairly common for businesses to want to provide some high availability for their SQL Server databases, and one option is to have two SQL Server databases on separate machines with a SQL Server database mirrored....
分类:
数据库 时间:
2014-04-30 22:11:38
阅读次数:
520