﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-一品梅-最新评论</title><link>http://www.cnblogs.com/onlyendure/CommentsRSS.aspx</link><description /><language>zh-cn</language><pubDate>Mon, 11 Aug 2008 01:35:27 GMT</pubDate><lastBuildDate>Mon, 11 Aug 2008 01:35:27 GMT</lastBuildDate><generator>cnblogs</generator><item><title>Re:C#中StreamReader读取中文文本出现乱码的解决方法</title><link>http://www.cnblogs.com/onlyendure/archive/2009/09/18/1121247.html#1650526</link><dc:creator>即是空</dc:creator><author>即是空</author><pubDate>Thu, 17 Sep 2009 16:59:09 GMT</pubDate><guid>http://www.cnblogs.com/onlyendure/archive/2009/09/18/1121247.html#1650526</guid><description><![CDATA[非常感谢~~~~<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/onlyendure/" target="_blank">即是空</a> 2009-09-18 00:59 <a href="http://www.cnblogs.com/onlyendure/archive/2009/09/18/1121247.html#1650526#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ASP.NET实现在线截图[转载]</title><link>http://www.cnblogs.com/onlyendure/archive/2009/01/06/1155473.html#1423530</link><dc:creator>cheery</dc:creator><author>cheery</author><pubDate>Tue, 06 Jan 2009 08:27:39 GMT</pubDate><guid>http://www.cnblogs.com/onlyendure/archive/2009/01/06/1155473.html#1423530</guid><description><![CDATA[晕 这也算吗<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/onlyendure/" target="_blank">cheery</a> 2009-01-06 16:27 <a href="http://www.cnblogs.com/onlyendure/archive/2009/01/06/1155473.html#1423530#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: C#中StreamReader读取中文文本出现乱码的解决方法</title><link>http://www.cnblogs.com/onlyendure/archive/2008/11/07/1121247.html#1363568</link><dc:creator>ryb</dc:creator><author>ryb</author><pubDate>Fri, 07 Nov 2008 01:35:25 GMT</pubDate><guid>http://www.cnblogs.com/onlyendure/archive/2008/11/07/1121247.html#1363568</guid><description><![CDATA[很好<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/onlyendure/" target="_blank">ryb</a> 2008-11-07 09:35 <a href="http://www.cnblogs.com/onlyendure/archive/2008/11/07/1121247.html#1363568#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: C#中StreamReader读取中文文本出现乱码的解决方法</title><link>http://www.cnblogs.com/onlyendure/archive/2008/11/05/1121247.html#1361506</link><dc:creator>abc123</dc:creator><author>abc123</author><pubDate>Wed, 05 Nov 2008 01:26:15 GMT</pubDate><guid>http://www.cnblogs.com/onlyendure/archive/2008/11/05/1121247.html#1361506</guid><description><![CDATA[谢谢!<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/onlyendure/" target="_blank">abc123</a> 2008-11-05 09:26 <a href="http://www.cnblogs.com/onlyendure/archive/2008/11/05/1121247.html#1361506#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ASP.NET实现在线截图[转载]</title><link>http://www.cnblogs.com/onlyendure/archive/2008/08/21/1155473.html#1293784</link><dc:creator>一品梅</dc:creator><author>一品梅</author><pubDate>Thu, 21 Aug 2008 09:12:36 GMT</pubDate><guid>http://www.cnblogs.com/onlyendure/archive/2008/08/21/1155473.html#1293784</guid><description><![CDATA[--引用--------------------------------------------------<br/>游客: 极力BS发贴不负责、不全的XX<br/>--------------------------------------------------------<br/>晕,没看到我是转载么?何况核心的东西和一个思路告诉你就不错了,难道你连自己发挥的能力都没有吗?那么软件业不成为了极端SB的CTRL+C,CTRL+V行业了.首先解决的是,理解核心思想及所用知识点.<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/onlyendure/" target="_blank">一品梅</a> 2008-08-21 17:12 <a href="http://www.cnblogs.com/onlyendure/archive/2008/08/21/1155473.html#1293784#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ASP.NET实现在线截图[转载]</title><link>http://www.cnblogs.com/onlyendure/archive/2008/08/18/1155473.html#1290231</link><dc:creator>游客</dc:creator><author>游客</author><pubDate>Mon, 18 Aug 2008 06:19:45 GMT</pubDate><guid>http://www.cnblogs.com/onlyendure/archive/2008/08/18/1155473.html#1290231</guid><description><![CDATA[极力BS发贴不负责、不全的XX<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/onlyendure/" target="_blank">游客</a> 2008-08-18 14:19 <a href="http://www.cnblogs.com/onlyendure/archive/2008/08/18/1155473.html#1290231#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ObjectDataSource.Selected Event</title><link>http://www.cnblogs.com/onlyendure/archive/2008/07/09/1238805.html#1249527</link><dc:creator>大宋提刑官</dc:creator><author>大宋提刑官</author><pubDate>Wed, 09 Jul 2008 05:33:48 GMT</pubDate><guid>http://www.cnblogs.com/onlyendure/archive/2008/07/09/1238805.html#1249527</guid><description><![CDATA[ObjectDataSourceMethodEventArgs..::.InputParameters Property <br><a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.objectdatasourcemethodeventargs.inputparameters.aspx" target="_new">http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.objectdatasourcemethodeventargs.inputparameters.aspx</a><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/onlyendure/" target="_blank">大宋提刑官</a> 2008-07-09 13:33 <a href="http://www.cnblogs.com/onlyendure/archive/2008/07/09/1238805.html#1249527#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ObjectDataSource.Selected Event</title><link>http://www.cnblogs.com/onlyendure/archive/2008/07/09/1238805.html#1249488</link><dc:creator>大宋提刑官</dc:creator><author>大宋提刑官</author><pubDate>Wed, 09 Jul 2008 05:01:53 GMT</pubDate><guid>http://www.cnblogs.com/onlyendure/archive/2008/07/09/1238805.html#1249488</guid><description><![CDATA[ObjectDataSourceStatusEventArgs Class<br><a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.objectdatasourcestatuseventargs.aspx" target="_new">http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.objectdatasourcestatuseventargs.aspx</a><br><br><br>-----------------------------------------------<br>&lt;%@ Register TagPrefix=&quot;aspSample&quot; Namespace=&quot;Samples.AspNet.CS&quot; Assembly=&quot;Samples.AspNet.CS&quot; %&gt;<br>&lt;%@ Import namespace=&quot;Samples.AspNet.CS&quot; %&gt;<br>&lt;%@ Page language=&quot;c#&quot; %&gt;<br>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;<br>    &quot;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;" target="_new">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</a><br>&lt;script runat=&quot;server&quot;&gt;<br>private void NorthwindEmployeeDeleting(object source, ObjectDataSourceMethodEventArgs e)<br>{<br>  // The GridView passes the ID of the employee<br>  // to be deleted. However, the buisiness object, EmployeeLogic,<br>  // requires a NorthwindEmployee parameter, named &quot;ne&quot;. Create<br>  // it now and add it to the parameters collection.<br>  IDictionary paramsFromPage = e.InputParameters;<br>  if (paramsFromPage[&quot;EmpID&quot;] != null) {<br>    NorthwindEmployee ne<br>      = new NorthwindEmployee( Int32.Parse(paramsFromPage[&quot;EmpID&quot;].ToString()));<br>    // Remove the old EmpID parameter.<br>    paramsFromPage.Clear();<br>    paramsFromPage.Add(&quot;ne&quot;, ne);<br>  }<br>}<br><br>private void NorthwindEmployeeDeleted(object source, ObjectDataSourceStatusEventArgs e)<br>{<br>  // Handle the Exception if it is a NorthwindDataException<br>  if (e.Exception != null)<br>  {<br><br>    // Handle the specific exception type. The ObjectDataSource wraps<br>    // any Exceptions in a TargetInvokationException wrapper, so<br>    // check the InnerException property for expected Exception types.<br>    if (e.Exception.InnerException is NorthwindDataException)<br>    {<br>      Label1.Text = e.Exception.InnerException.Message;<br>      // Because the exception is handled, there is<br>      // no reason to throw it.<br>      e.ExceptionHandled = true;<br>    }<br>  }<br>}<br><br>&lt;/script&gt;<br>&lt;html  &gt;<br>  &lt;head&gt;<br>    &lt;title&gt;ObjectDataSource - C# Example&lt;/title&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br>    &lt;form id=&quot;Form1&quot; method=&quot;post&quot; runat=&quot;server&quot;&gt;<br><br>        &lt;asp:gridview<br>          id=&quot;GridView1&quot;<br>          runat=&quot;server&quot;<br>          datasourceid=&quot;ObjectDataSource1&quot;<br>          autogeneratedeletebutton=&quot;true&quot;<br>          autogeneratecolumns=&quot;false&quot;<br>          datakeynames=&quot;EmpID&quot;&gt;<br>          &lt;columns&gt;<br>            &lt;asp:boundfield headertext=&quot;EmpID&quot; datafield=&quot;EmpID&quot; /&gt;<br>            &lt;asp:boundfield headertext=&quot;First Name&quot; datafield=&quot;FirstName&quot; /&gt;<br>            &lt;asp:boundfield headertext=&quot;Last Name&quot; datafield=&quot;LastName&quot; /&gt;<br>          &lt;/columns&gt;<br>        &lt;/asp:gridview&gt;<br><br>        &lt;asp:objectdatasource<br>          id=&quot;ObjectDataSource1&quot;<br>          runat=&quot;server&quot;<br>          selectmethod=&quot;GetAllEmployees&quot;<br>          deletemethod=&quot;DeleteEmployee&quot;<br>          ondeleting=&quot;NorthwindEmployeeDeleting&quot;<br>          ondeleted=&quot;NorthwindEmployeeDeleted&quot;<br>          typename=&quot;Samples.AspNet.CS.EmployeeLogic&quot;&gt;<br>          &lt;deleteparameters&gt;<br>            &lt;asp:parameter name=&quot;EmpID&quot; type=&quot;Int32&quot; /&gt;<br>          &lt;/deleteparameters&gt;<br>        &lt;/asp:objectdatasource&gt;<br><br>        &lt;asp:label id=&quot;Label1&quot; runat=&quot;server&quot; /&gt;<br><br>    &lt;/form&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/onlyendure/" target="_blank">大宋提刑官</a> 2008-07-09 13:01 <a href="http://www.cnblogs.com/onlyendure/archive/2008/07/09/1238805.html#1249488#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 静态构造函数（C# 编程指南）</title><link>http://www.cnblogs.com/onlyendure/archive/2008/07/08/1202647.html#1248046</link><dc:creator>大宋提刑官</dc:creator><author>大宋提刑官</author><pubDate>Tue, 08 Jul 2008 01:35:08 GMT</pubDate><guid>http://www.cnblogs.com/onlyendure/archive/2008/07/08/1202647.html#1248046</guid><description><![CDATA[Note one thing here: we are not making any explicit call to the constructor of base class neither by initializer nor by the base keyword, but it is still executing. This is the normal behavior of the constructor.<br><br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/onlyendure/" target="_blank">大宋提刑官</a> 2008-07-08 09:35 <a href="http://www.cnblogs.com/onlyendure/archive/2008/07/08/1202647.html#1248046#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 静态构造函数（C# 编程指南）</title><link>http://www.cnblogs.com/onlyendure/archive/2008/07/08/1202647.html#1248045</link><dc:creator>大宋提刑官</dc:creator><author>大宋提刑官</author><pubDate>Tue, 08 Jul 2008 01:34:53 GMT</pubDate><guid>http://www.cnblogs.com/onlyendure/archive/2008/07/08/1202647.html#1248045</guid><description><![CDATA[An Intro to Constructors in C#<a href="http://www.codeproject.com/KB/dotnet/ConstructorsInCSharp.aspx" target="_new">http://www.codeproject.com/KB/dotnet/ConstructorsInCSharp.aspx</a><br>public class myBaseClass<br>{<br>    public myBaseClass()<br>    {<br>        // Code for First Base class Constructor<br>    }<br><br>    public myBaseClass(int Age)<br>    {<br>        // Code for Second Base class Constructor<br>    }<br><br>    // Other class members goes here<br>}<br><br>public class myDerivedClass : myBaseClass<br>// Note that I am inheriting the class here.<br>{<br>    public myDerivedClass()<br>    {<br>        // Code for the First myDerivedClass Constructor.<br>    }<br><br>    public myDerivedClass(int Age):base(Age)<br>    {<br>        // Code for the Second myDerivedClass Constructor.<br>    }<br><br>    // Other class members goes here<br>}<br>Now, what will be the execution sequence here:<br><br>If I create the object of the derived class as:<br><br>myDerivedClass obj = new myDerivedClass()<br>Then the sequence of execution will be:<br><br>public myBaseClass() method. <br>and then public myDerivedClass() method. <br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/onlyendure/" target="_blank">大宋提刑官</a> 2008-07-08 09:34 <a href="http://www.cnblogs.com/onlyendure/archive/2008/07/08/1202647.html#1248045#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
