摘要: 1.内置字符串类型string.xsd: 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!--W3C Schema generated by XMLSpy v2008 rel. 2 sp2 (http://www.altova.com)--> 3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> 4 <xs:complexType name="strlist_Type"& 阅读全文
posted @ 2012-11-27 09:11 xcf007 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.codeproject.com/Articles/457444/List-box-control-with-tooltip-for-each-itemIntroduction 简介This article describes a way of displaying tooltips for items in a Windows FormsListBoxcontrol. The built-inToolTipcontrol allows you to display a single tooltip for the entire listbox. However, i 阅读全文
posted @ 2012-11-23 13:50 xcf007 阅读(684) 评论(0) 推荐(1) 编辑
摘要: 题外话:-):尽管都Schema了,了解下DTD还是有好处的.就好比拿asp的站,得至少对asp使用有个大体了解吧做个笔记:1.DTD注释同xml: 1 <!-- 2 Extensible HTML version 1.0 Transitional DTD 3 4 This is the same as HTML 4 Transitional except for 5 changes due to the differences between XML and SGML. 6 7 Namespace = http://www.w3.org/1999/xhtml 8 ... 阅读全文
posted @ 2012-11-23 10:10 xcf007 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 文件传输协议(File Transfer Protocol, FTP)1. 介绍FTP 的目标是提高文件的共享性,提供非直接使用远程计算机,使存储介质对用户透明和可靠高效地传送数据。虽然我们也可以手工使用它,但是它的主要作用是供程序使用的。在阅读本文之前最好能够阅读 TCP 协议标准规范和 Telnet 协议标准规范。2. 概览在本节中我们将讨论一些表面上的问题,有些名词的定义请参阅 TCP 和 Telnet参考文献。我们先介绍一下(1)字节大小,在 FTP 中字节大小有两个:逻辑字节大小和用于传输的字节大小。后者通常是 8 位,而前者可不一定是多少了。传输字节不必等于逻辑字节大小,也不必对数 阅读全文
posted @ 2012-11-10 10:48 xcf007 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 通过~符号分割的一批平面源数据文件。一个xsd这里只是用来定义xml文件的结果,神马类型验证免了这里统统都是string。开始:1.打开vs2010新建一个winform的项目。待续... 阅读全文
posted @ 2012-10-25 18:55 xcf007 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 可以命令行交互式执行:sqlcmd -S myServer\instanceName登录,默认是Windows验证方式。sql验证方式,指定-U 用户名 -P 密码sqlcmd -S myServer\instanceName -U 用户名 -P 密码可以 -d 数据库名,指定使用的数据库。-q "查询语句" 执行sql-i 指定脚本输入来源 如test.sql-o 查询结果输出文件sqlcmd -S myServer\instanceName -U 用户名 -P 密码 -i "D:\test.sql" -o "D:\result.txt&qu 阅读全文
posted @ 2012-10-15 11:23 xcf007 阅读(261) 评论(0) 推荐(0) 编辑
摘要: http://q.cnblogs.com/q/41718/ 1 namespace WebApp 2 { 3 class School 4 { 5 public string Name 6 { 7 get; 8 set; 9 } 10 11 public List<Grade> grades; 12 } 13 class Grade 14 { 15 public string Name 16 ... 阅读全文
posted @ 2012-10-01 16:41 xcf007 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 如下类似:代表用户角色类1 public class UserRole2 {3 public virtual int Id { get; set; }4 5 public virtual string Name { get; set; }6 }用户类: 1 public class User 2 { 3 public virtual int Id { get; set; } 4 5 public virtual string Name { get; set; } 6 7 ... 阅读全文
posted @ 2012-09-26 13:24 xcf007 阅读(1600) 评论(0) 推荐(0) 编辑
摘要: 产品:Altova Mapforce 2011例子文件:C:\Documents and Settings\<username>\My Documents本人win2003的对应位置:C:\Documents and Settings\All Users\Application Data\Altova\MapForce2011\MapForceExamples1.新建 Mapping映射文档,工具栏选择输出语言基准2.选择工具栏的插入文本文件图标,当然也可以从菜单选择 Insert|Text File:会弹出一个“插入文本组件对话框”:单击使用Use simple processi 阅读全文
posted @ 2012-09-20 11:08 xcf007 阅读(1742) 评论(0) 推荐(0) 编辑
摘要: 1.子目录转移根目录时的生成url问题Q:常见的测试dedecms时,大家直接安装在本机的一个目录里比如http://localhost/yoursite/实际上最后部署到空间应该是这样子http://www.yourdomain.com/下,所以对于模板里的用到的src="{dede:global.cfg_templets_skin/}/css..."会在最后生成时,多一个"/yoursite",多这一级目录或许不是你想要的结果;这点我们在配置VirtualHost可以看到,如果你没有空间,域名的话。比如:我们通过apache配置个虚拟主机,端口比如2 阅读全文
posted @ 2012-09-06 12:38 xcf007 阅读(169) 评论(0) 推荐(0) 编辑