随笔分类 -  ASP.NET Snippets

摘要:Ref: (http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.treenode.aspx) Ref: (http://www.codenewsgroups.net/group/microsoft.public.dotnet.framework.aspnet.webcontrols/topic9080.aspx) Th... 阅读全文
posted @ 2008-06-06 06:44 Vincent Yang 阅读(1028) 评论(0) 推荐(0)
摘要:本教程教你如何一步一步创建自己的模板,希望对大家有用。 阅读全文
posted @ 2008-04-01 11:06 Vincent Yang 阅读(6471) 评论(30) 推荐(0)
摘要:Ref: http://aspnet.4guysfromrolla.com/demos/printPage.aspx?path=/articles/082504-1.aspx IntroductionThe ASP.NET data Web controls - the DataGrid, DataList, and Repeater - are highly versatile contr... 阅读全文
posted @ 2008-03-20 08:55 Vincent Yang 阅读(351) 评论(0) 推荐(0)
摘要:Right click the table adapter and there is an option to delete the primary key(s). Then it worked. (http://forums.asp.net/p/1154874/1901799.aspx#1901799) 阅读全文
posted @ 2008-02-18 11:49 Vincent Yang 阅读(942) 评论(0) 推荐(0)
摘要:Calling the function from codeMailHelper.SendMailMessage("fromAddress@yourdomain.com", "toAddress@yourdomain.com", "bccAddress@yourdomain.com", "ccAddress@yourdomain.com", "Sample Subject", "Sample bo... 阅读全文
posted @ 2008-01-29 08:31 Vincent Yang 阅读(695) 评论(0) 推荐(0)
摘要: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 Syst... 阅读全文
posted @ 2008-01-29 08:28 Vincent Yang 阅读(517) 评论(0) 推荐(0)