摘要:2011-5-20日:完成上传文件,图片水印,.NET发送邮件2011-5-21日计划:.NET报表制作。。
阅读全文
摘要:C#中用XmlDocument写XMLC#,XML XmlDocument xmldoc = new XmlDocument(); XmlDeclaration xmldecl; xmldecl = xmldoc.CreateXmlDeclaration("1.0", "gb2312", null);////xml版本号,编码(简体中文) xmldoc.AppendChild(xmldecl); //加入一个根元素 XmlElement xmlelem; xmlelem = xmldoc.CreateElement("", "
阅读全文
摘要:/* * 名称: 个人程序 * 版本: V1.0 * 作者: 王海鹏(Jack) * 日期: 2011-05-17 * CLR版本: 4.0 * 命名空间名称: WHPFunction.Drawing * 文件名: AddImageWatermark.cs * *QQ : 383828353 *Email: wh2004_1@qq.com * */using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Drawing;using
阅读全文
摘要:找到以下路径:64位系统:【安装盘符】:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplatesCache\CSharp\Windows Forms\2052\Form.zip【安装盘符】:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplatesCache\CSharp\Web\2052\WebForm.zip32位系统:【安装盘符】:\Program Files\Microsoft Visual Studi
阅读全文
摘要:1,xtypeuse NorthWindgoselect * from sysobjects where xtype='U'xtype参数的意思C = CHECK 约束D = 默认值或 DEFAULT 约束F = FOREIGN KEY 约束L = 日志FN = 标量函数IF = 内嵌表函数P = 存储过程PK = PRIMARY KEY 约束(类型是 K)RF = 复制筛选存储过程S = 系统表TF = 表函数TR = 触发器U = 用户表UQ = UNIQUE 约束(类型是 K)V = 视图X = 扩展存储过程--删除表SET ANSI_NULLS ONGOSET QUOT
阅读全文
摘要:一个CodeSmith 文档分几个部门:第一部分 模板属性信息:本部分包括几个模板信息<%@ CodeTemplate Language="C#" TargetLanguage="T-SQL" Src="" Inherits="" CompilerVersion="v3.5" Description="Generates " %><%@ Property Name="SourceDatabase" Type="SchemaExp
阅读全文
摘要:一、思路:公司的所有流程做到心里有数。然后数据化,标准化,这是ERP的前提。个人建议可以首先做一个非常简单的流程化的东西,然后开始在当中不断增加非主要流程,这样你就会知道要什么。很多人想做,但是根本就不知道自己要什么。上来就大张旗鼓,往往经验积累不足而偃旗息鼓。
阅读全文
摘要:.NET程序连接Oracle的几种方式:1,OracleConnection: string connstr = "Provider=OraOleDb.Oracle;DataSource=orcl;userid=system;password=a123;"; string cmdstr = "select * from test"; OracleConnection orclcon = new OracleConnection("User Id=system;Password=a123;Data Source=orcl;"); try
阅读全文