Ref: http://blogs.msdn.com/mitsu/archive/2008/04/02/visual-linq-query-builder-for-linq-to-sql-vlinq.aspxHi all, After almost one year of work and organization, I am very happy to share this project with you: http://code.msdn.microsoft.com/vlinq The
The .NET Framework 2.0 provides APIs for accessing settings in a configuration file. Here's how you access the mail settings of a config file programmatically: C#using System.Configuration;using System.Web.Configuration;using
Calling the function from codeMailHelper.SendMailMessage("fromAddress@yourdomain.com", "toAddress@yourdomain.com", "bccAddress@yourdomain.com", "ccAddress@yourdomain.com", "Sample Subject", "Sample body of text for mail
以前都沒有用過datalist,今天用的時候就發現了一個問題,在這裡記錄下來!The itemcommand event for the datalist will not fire if you rebindthe DataList control everytime the page loads. This event will fire if youuse the viewstate information when the page gets loaded. The reason is
Ref: http://www.martinfowler.com/bliki/AnemicDomainModel.html25 November 2003ReactionsThis is one of those anti-patterns that's been around for quite a long time, yet seems to be having a particular spurt at the moment. I was chatting with Eric
Ref: http://www.dotnetjunkies.com/WebLog/dinakar/articles/12379.aspx Heres a small piece of code to force refresh the parent window from the child window after closing the child window, without having to press the refresh
Ref:http://blogs.msdn.com/charlie/archive/2008/04/28/linqfarm-understanding-ienumerable-t-sets-and-sequences.aspxThe IEnumerable<T> interface is a key part of LINQ to Objects and binds many of its different features together into a whole. This
1: Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest 2: If Not String.IsNullOrEmpty(HttpContext.Current.Request.QueryString("imageID")) Then 3: Dim imageID =
REF:http://www.boutell.com/newfaq/misc/urllength.html 2006-10-13: Although the specification of the HTTP protocol does not specify any maximum length, practical limits are imposed by web browser and server software. Microsoft Internet Explorer
Ref: http://nayyeri.net/blog/integrating-wcf-clients-with-asmx-services/ Back in December 2006 I linked to Thom Robbins' blog post about integrating WCF with ASMX services. The other side of integration between WCF and ASMX services is integration
Plain text return for WCF.svc files from IIS or xxxx can not find svc extensionReason: Because svc does not register to IIS probably.Solutions: C:\>"%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -
Ref: http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2993059&SiteID=17 You can remove SP1 by using either Programs and Features or the command line. Note, however, that you cannot uninstall SP1 offline using any method. In addition, it
I have had various results since this original post. I have a PC hat home running Vista SP1 and have the same issue, however, the laptop I received from work does not. Weird. One way you can get around the missing tool is by adding a external tool
Ref: http://aspnet.4guysfromrolla.com/demos/printPage.aspx?path=/articles/032807-1.aspxIntroductionMost ASP.NET applications include a number of configuration settings, such as connection strings, mail server settings, system-wide default settings,
Ref: http://aspnet.4guysfromrolla.com/demos/printPage.aspx?path=/articles/020707-1.aspxIntroductionMost ASP.NET applications include a number of configuration settings, such as connection strings, mail server settings, system-wide default settings,
Ref: http://aspnet.4guysfromrolla.com/demos/printPage.aspx?path=/articles/053102-1.aspxIntroductionThere are often times when you need to store some globally accessbile bit of information that will be used on (nearly) every page on the Web site.
Ref: http://msdn2.microsoft.com/en-us/library/aa751795.aspx This topic describes the format of trace data, how to view it, and approaches that use the Service Trace Viewer to troubleshoot your application. Using the Service Trace Viewer ToolThe
Ref: http://keithelder.net/blog/archive/2008/01/17/Exposing-a-WCF-Service-With-Multiple-Bindings-and-Endpoints.aspx Windows Communication Foundation (henceforth abbreviated as WCF) supports multiple bindings that allows developers to expose their