摘要: SELECT * FROM #temp WHERE email collate SQL_Latin1_General_CP1_CI_AS NOT IN (SELECT email FROM Customer) 阅读全文
posted @ 2011-08-09 11:29 cwe 阅读(341) 评论(0) 推荐(0)
摘要: if you are loading a string to an XML document that contains the following structure : <?xml version="1.0" encoding="utf-8"?><Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> & 阅读全文
posted @ 2011-07-25 16:21 cwe 阅读(340) 评论(0) 推荐(0)
摘要: send the SOAP Request Dynamically To Website knoe /******Calling Saop Uing WebRequest Nad Response**/ private void CallUsingSOAP(string InXml, out XmlDocument xmlResponse) { string strSoapRequest = ""; xmlResponse = null; string strABCWebServiceUrl = <Mywebservice URL> strSoapRequest 阅读全文
posted @ 2011-07-14 17:03 cwe 阅读(448) 评论(0) 推荐(0)
摘要: http://www.wpftutorial.net/3rdPartyLibs.htmlWPF Component Vendors Component ArtDevExpressSyncFusionInfragisticsXceedTelerikActipro Data Grids Infragistics Data GridXceed Data GridComponent One Data GridSyncfusion Essential GridTelerik RadGridView for WPFComponentArt DataGrid Charts Infragistics xamC 阅读全文
posted @ 2011-07-06 11:51 cwe 阅读(497) 评论(0) 推荐(0)
摘要: Alter PROCEDURE dbo.sp_InsertRecords AS Declare @id int -- first we'll pull some records out of our table. DECLARE CursorQuery CURSOR FOR SELECT ID FROM myTable WHERE MyRecord > 15 OPEN CursorQuery -- we're going to fetch our record into the ID variable which we'll use for inserting a 阅读全文
posted @ 2011-06-29 16:27 cwe 阅读(418) 评论(0) 推荐(0)
摘要: Start the Visual Studio development environment, and create a new application in your preferred development language. This example uses a console application; however you can also run a package from a Windows Forms application, an ASP.NET Web form or Web service, or a Windows service. On the Projec. 阅读全文
posted @ 2011-05-19 10:34 cwe 阅读(217) 评论(0) 推荐(0)
摘要: <configuration> <system.diagnostics> <sources> <source name="System.ServiceModel.MessageLogging" switchValue="Warning, ActivityTracing"> <listeners> <add type="System.Diagnostics.DefaultTraceListener" name="Default"> <fil 阅读全文
posted @ 2011-04-28 10:42 cwe 阅读(799) 评论(0) 推荐(0)
摘要: using System;using System.Collections;using System.Collections.Specialized;0006using System.Data;0007using System.Data.SqlClient;0008using System.Configuration;0009using System.Data.Common;0010using System.Collections.Generic;0011namespace Legalsoft.Wizard.DBUtility0012{0013public enum EffentNextTyp 阅读全文
posted @ 2011-04-21 18:55 cwe 阅读(319) 评论(0) 推荐(0)
摘要: 下面的示例演示使用 lock 关键字以及 AutoResetEvent 和 ManualResetEvent 类对主线程和两个辅助线程进行线程同步。有关更多信息,请参见 lock 语句(C# 参考)。 该示例创建两个辅助线程。一个线程生成元素并将它们存储在非线程安全的泛型队列中。有关更多信息,请参见 Queue。另一个线程使用此队列中的项。另外,主线程定期显示队列的内容,因此该队列被三个线程访问。lock 关键字用于同步对队列的访问,以确保队列的状态没有被破坏。 除了用 lock 关键字来阻止同时访问外,还用两个事件对象提供进一步的同步。一个事件对象用来通知辅助线程终止,另一个事件对象由制造者 阅读全文
posted @ 2011-04-14 19:57 cwe 阅读(215) 评论(0) 推荐(0)
摘要: 1. delegate 委托可以理解为cxx 语言中的函数指针,标示了方法调用的回调函数的规范。强类型,便于编译时检查是它的最大优点,从此可以和void * 说再见了。2. event 事件用以delegate委托声明事件,标示响应该事件的回调函数必须符合其声明委托的定义3. lambda 表达式在.net世界中表现为匿名委托,之前又要提到匿名方法(函数) view sourceprint?01public class Test{02public void delegate Close(); //声明一个无参无返回值的委托03public event Close CloseEvent; //声 阅读全文
posted @ 2011-03-14 19:19 cwe 阅读(165) 评论(0) 推荐(0)