自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(108)
  • 资源 (1)
  • 收藏
  • 关注

转载 Vista UAC: The Definitive Guide

原文地址:  http://www.codeproject.com/KB/vista-security/UAC__The_Definitive_Guide.aspx IntroductionWhen I began this project, I didnt think it would take me two weeksto complete. Well, here I am,

2009-02-05 14:03:00 2873

转载 Launch your application in Vista under the local system account without the UAC popup

原文地址:http://www.codeproject.com/KB/vista-security/VistaSessions.aspxIntroductionIn Vista, I came across a problem where I wanted to launch an exeunder an administrator account to perform certain

2009-02-05 14:01:00 1548

转载 动态调用WebService(C#)

2008年12月03日 星期三 16:53通常我们在程序中需要调用WebService时,都是通过“添加Web引用”,让VS.NET环境来为我们生成服务代理,然后调用对应的Web服务。这样是使工作简单了,但是却和提供Web服务的URL、方法名、参数绑定在一起了,这是VS.NET自动为我们生成Web服务代理的限制。如果哪一天发布Web服务的URL改变了,则我们需要重

2009-02-03 17:31:00 1185

转载 Making raw web service calls with the HttpWebRequest class

Sometimes its really nice to be able to make a raw call to a webservice by manaully putting together your own SOAP envelope. TheSystem.Net.HttpWebRequest class makes it really easy. There a

2009-02-03 12:45:00 2401

转载 Excel import gives NULL rows with DTS Sometimes

when the excel column contains numeric and text data, and you try to import the excel data using say DTS, it will give you either the text values or the numeric values and return NULLs for the other.

2009-01-15 13:16:00 607

转载 How To: Reset Identity column in SQL Server

This is one of those simple tip posts that may seem obvious and taken for granted by those of us who have been working with SQL Server for a while now but maybe a newbie or two out there will find thi

2008-12-24 15:16:00 1047

原创 一个SSIS部署问题的探索过程,实在佩服这家伙

5/2/2006 10:06:01 AM    SSIS Scheduling Failure - AcquireConnection ErrorIn honor of the help that I have recently received in this group, I thought I would post the answer to a probl

2008-11-26 11:41:00 2675

转载 INVEST in Good Stories, and SMART Tasks

INVEST in Good Stories, and SMART Tasks August, 2003 XP teams have to manage stories and tasks. The INVEST and SMART acronyms can remind teams of the good characteristics of ea

2008-11-25 11:01:00 845

转载 SSIS: Throwing errors from script task/component

Im working on a project at the moment that entails making calls to external DLLs from within a script task or script component. In our case the DLL in question is a web service proxy and weve been h

2008-11-03 15:05:00 1035

转载 Send Mail in SSIS

December 26, 2006SQL Server 2005 Integration Services - Part 39 - Send Mail TaskBy Marcin Policht Following presentation of the most popular Data Flow transformations in SQL Server 2005 Integratio

2008-10-31 16:50:00 1600

转载 For each from variable enumerator

For each from variable enumerator can enumerate over variable that contains .NET collection, e.g. ArrayList. Using it is a bit complex, lets go step by step:First, create a variable that will co

2008-10-30 17:57:00 642

转载 如何连接SQL Server与Oracle数据库

如何连接SQL Server与Oracle数据库原文出处: 2001/11 SQL Server Magazine原文标题: SQL Server and Oracle: Making the Connection原作者: John Paul Cook译者: 何致億 假定您现在拥有一个以Microsoft .NET为架构的网络订购系统,但是品管维护系统却仍然使用一套旧式的O

2008-09-25 16:27:00 1643

转载 SSW Rules to Better SQL Reporting Services 2005

SSW Rules to Better SQL Reporting Services 2005 Home About Us About Us Contact Us

2008-05-22 06:51:00 4869

转载 MS MVC: Simply Restful Routing

MS MVC: Simply Restful Routing Published by Adam Tybor on December 10, 2007 04:05 am under Development MS MVC first public code drop is available. I hope you have read through all of ScottGu’s

2008-03-31 16:05:00 1705

转载 A Brief Introduction to REST

 A Brief Introduction to RESTPosted by Stefan Tilkov on Dec 10, 2007 03:42 AM Community Architecture, SOA Topics Enterprise Architecture You may or may not be aware that there is debate going on

2008-03-31 10:17:00 1754

转载 Using TestContext in Unit Tests

Most people dont know about the TestContext object, as it is not one regularly used. However, it can be very handy.Data-Driven Unit TestingThe TestContext objects primary purpose IMO is for linking

2008-03-19 10:08:00 1476

原创 NET中,WebClient通过代理服务器访问网页

            try            {                WC = new System.Net.WebClient();                //实例化代理服务器对象                WebProxy myProxy = new WebProxy(@"http://192.168.0.1:8080",true);               

2008-03-17 15:28:00 2882 1

转载 SharePoint 2007 - /_layouts and how to create pages that run in site context

 Ages ago, in the time that SharePoint 2007 was still beta, I dived into how to create "in site context" pages that should be hosted in the /_layouts directory of SharePoint. My adventures fro

2008-03-14 18:19:00 3077

转载 Working with Managed Paths in MOSS

Bob Fox has done a great job on providing screencasts for some administrative functions in SharePoint 2007 and we all hope he continues doing a great job. There are several screencasts that he has pro

2008-03-14 18:18:00 1318

转载 Architecture as Language: A story

 Architecture as Language: A storyPosted by Markus Völter on Feb 27, 2008 03:30 PM Community Architecture Topics Artifacts & Tools, Domain Specific Languages, Language, Modeling AbstractArch

2008-03-10 16:35:00 2145

转载 WinForms UI Thread Invokes: An In-Depth Review of Invoke/BeginInvoke/InvokeRequred

WinForms UI Thread Invokes: An In-Depth Review of Invoke/BeginInvoke/InvokeRequredAbstract:Marshalling the execution of your code onto the UI thread in the Windows Forms environment is critical

2008-03-07 15:49:00 1895

原创 如何动态修改ObjectDataSource数据源的查询参数

最近在使用LINQ过程中,经常和ObjectDataSource打交道。有时需要动态改变一个ObjectDataSource的查询方法或者查询参数。例如:我的产品库存可以根据产品类型的下拉列表过滤,也可以根据产品编码直接查询。查询方法:GetInventoryView 调用参数:productcode,orderby。其中productcode绑定到产品类型的下拉列表。当用户输入产

2008-01-22 16:28:00 4480

原创 从传统数据库访问转向LINQ过程中遇到的一些问题和解决方法

最近在将一个原来用ASP.NET2.0设计的网站迁移到NET3.5上,主要是要将数据访问从传统的数据库访问方式转换为LINQ技术。其间也遇到一些问题,这里是一些典型的问题。我原来的项目是在NET2.0下用VS2005开发的,现在使用VS2008了。 1  web.config的问题由于原来的系统是在NET2.0下用VS2005开发的,在web.config中的有大量对2.0的引用。如果

2008-01-17 11:10:00 2124

原创 什么是适合中小企业的ERP

1月前,我弟弟的小家具厂要开个专卖店,请教我这个搞软件的哥哥:“哥,你帮我找个软件吧,我想把公司的库存管起来”。我觉得这还不是小菜一碟,咱以前在一家软件公司的时候,也还真开发过一套这样的系统。把5年前开发的系统找出来,才发现要安装,配置,用户手册就好几百页。虽然是自己亲自开发的,但要把软件配置成可以使用,我自己都头疼。还是算了吧,去市场上找一个中小企业版的商业软件把。去问了问金蝶的代理商,一报价3

2007-12-26 16:23:00 5456 9

转载 禁止保存网页的方法

  1. oncontextmenu="window.event.returnvalue=false" 将彻底屏蔽鼠标右键no 可用于Table2. 取消选取、防止复制3. onpaste="return false" 不准粘贴4. oncopy="return false;" oncut="return false;" 防止复制5. IE地址栏前换成自己的图标6. 可以在收藏夹

2007-11-05 14:20:00 1923

转载 [转贴]用Office SharePoint Server 2007开发的一些网站

Powered by Microsoft Office SharePoint Server 2007 BIO Diversity Hot Spots http://www.biodiversityhotspots.org/

2007-10-09 14:20:00 2470

原创 [转贴]使用 Excel Services ,结合 Analysis Services 在 SharePoint 中发布报表

微软以往的BI产品,尽管有Report Builder这类ad-hoc工具,但是作为客户端开发工具仍然太麻烦,而且也无法提供灵活的分析功能。在微软新的SQL Server加Office战略布局中,Excel被提升到了非常重要的地位,除了OLAP前端外,Excel还充当起SSAS中的DM和未来PPS的客户端软件。再加上MOSS,Excel成为了集分析、报表、发布为一体的BI客户端工具。原文地址:ht

2007-10-08 14:50:00 2213

原创 企业信息化中信息和知识的区别

企业信息化中信息和知识的区别 信息是对企业办公过程中产生的一些有形的信息和日常的办公流程进行管理,以提升办公的效率和企业管理的规范性,因此它更多的关注既有的文档、资产等这样一些有形物质资源,强调的是“有序化和规范化”; 知识是对企业的知识,也就是智力资本(包括以各种有形形态存在的显性知识和存在于人头脑中的隐性知识)进行管理,以通过对其的最大化开发和利用提升企业的 能力,它关注的是知识的载体(人

2007-10-08 14:42:00 1930

原创 SharePoint, 如何在列表项的只读界面DispForm.aspx控制字段的显示和隐藏

假设一个列表有2个字段 Field A ,Field B。当我点击一个列表item后,会打开一个只读界面DispForm.aspx, 这个界面会显示 Field A: Value A Field B: Value B我希望显示如下字段(将 Field B: Value B隐藏起来)Field A: Value A  而在编辑界面 EditForm.aspx,可以对2个字段的数据进行编辑 Field

2007-09-20 09:35:00 2279

翻译 SharePoint2007计算列支持的公式

这些是从下载版的 WSS 3.0 SDK中节选出来的。不知什么原因,在线的SDK上没有这部分内容:(Conditional formulasYou can use the following formulas to test the condition of a statement and return a Yes or No value, to test an alternate val

2007-09-20 08:45:00 1365

转载 [转贴]SharePopint常用资源链接

Architecture, Installation, and Migration·         Planning and Architecture WhitePaper (Fairly Large Guide, about 1000 Pages in Length)·         Upgrade Toolkit for Windows SharePoint Service

2007-09-18 13:57:00 1294

转载 [转贴]微软Visual-Studio-2005常用小工具

Visual Studio 2005 为我们带来了新的编程体验,提供了从需求分析到最终测试整个软件生命开发周期的解决方案。 但是,我们也可以看到一直以来围绕着Visual Studio有许多各种功能的插件,或是为Visual Studio 增加了新的功能或者对原有功能进行了优化,已经成为开发者不可缺少的工具。  插件名称:Reflector.FileDisassembler   插件作者:

2007-09-18 10:05:00 1243

翻译 通过Internet访问 SharePoint

通过Internet访问 SharePoint一旦在你的企业内部开始部署SharePoint,你会发现越来越多重要的业务信息出现在SharePoint的站点上。所有这些信息,如工作文档,项目信息和其他任何存储在SharePoint服务器上的数据都需要在线才能被访问。这些信息和数据如此重要,于是离开办公室也能访问这些数据的需求就会越来越多。 好消息是SharePoint可以实现需求,而且不止一种

2007-09-17 17:11:00 3957

转载 在ASP.NET下用Microsoft Excel进行数据分析与报表

总述在数据分析和生成报表方面,Excel是一款非常强大的工具。嵌入 VB.NET里可以做在Excel下做的工作。在财务行业工作的人都知道不管怎样Excel已被广泛使用。在Excel下工作时,商业人员往往比开发人员 更熟练地使用Excel。在很长一段时间,软件将向分布式计算和N层结构发展。过去,当数据被存储在Access数据库或一般文件中,我们会手工地将数据 输入到Excel文件中并利用这些数据

2007-08-10 13:59:00 2333

原创 在windows2003中去掉IE的强制安全设置

我在自己的笔记本上装了windows 2003  server. 发现使用IE简直成了一个恶梦,成吨的网页无法正常浏览。都是IE的强制安全设置搞的。无论在IE的设置里面怎么改,我都无法在hotmail里面发邮件了!没办法,只好卸载它了。卸载这个功能很简单:到添加/删除windows组建中,选择IE Enhanced Security configuration.把它写在就好了。如果你希望只是对管理

2007-07-30 11:10:00 2760

原创 在运行时修改ObjectDataSource的参数

在一个用户查询页面有三个查询分别查询全部用户,按名称模糊查询用户和按照角色查询用户。这三个功能需要调用业务端三个不同的函数,它们的返回值一样,都是数据对象集合SESGMemberShipUserCollection使用GridView1来显示查询结果,ObjectDataSource1是数据源。问题是如何能够在程序的运行时设置让ObjectDataSource1动态调用业务端的三个方法。解决方

2007-06-21 10:48:00 1978

原创 使用反射来应对数据实体类的变化

 这是我在写一个WEB SERVICE时遇到的问题。我需要传送一个数据对象的集合给客户端,具体说是传送一个用户对象的数组。根据客户端的要求,我要把数据对象转化为dataset返回给客户端。这个需求很简单,自己创建dataset,datatable。把数据对象的field映射为datatable的列,然后将一个对象转化为一条datarow。不过我发现,这个被传送的数据对象SESGMember

2007-06-11 14:49:00 1246

原创 在ASP.NET中,使用XML数据源动态更新TreeView

TreeView显示树形结构的数据。XML是以树结构组织数据的。用XML来表示数据,用TreeView来显示是非常自然的。这里,以一个具体的页面来说明。页面中,使用了TreeView1和XmlDataSource1。而且TreeView1的模板可以方便地定义数据显示的样式,指定了3级显示,以及每一级的数据榜定关系和显示的内容。ASPX的内容:asp:TreeView ID="T

2007-06-04 13:49:00 2107

原创 在绑定数据源的GirdView上,在删除数据时不触发datasource的删除命令

在ASP.NET中, GridView用来显示数据,datasource用来获取,删除,插入数据。不过,有时我们不需要datasource来处理删除或插入等操作。比如我们需要对被删除的数据进行判断。row command是负责处理数据编辑,插入,删除的。我们可以在protected void GridView1_RowCommand(object sender, GridViewComma

2007-05-31 13:11:00 1316

原创 在安装了Windows SharePoint Services的机器上,安装自己的Web应用

在安装了Windows SharePoint Services2.0的机器上,因为http请求被WSS截获了,如果直接在Default web site上安装自己的Web应用的虚目录,你的web 应用根本无法运行。 要想让自己的应用和sharePoint共存,需要1 将这个虚目录从SharePoint中Excelude,打开SharePoint Central Admin站点,Vi

2007-05-28 17:49:00 1829

HeadFirst DesignPatterns In C#

HeadFirst Design Pattern in C#

2009-07-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除