<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[AdNT的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/AdNT</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; AdNT]]></copyright><item><title><![CDATA[为MySQL Connector Net连接MySQL使用正确的连接字符串]]></title><link>https://blog.youkuaiyun.com/AdNT/article/details/231966</link><guid>https://blog.youkuaiyun.com/AdNT/article/details/231966</guid><author>AdNT</author><pubDate>Tue, 28 Dec 2004 11:02:00 +0800</pubDate><description><![CDATA[在使用MyODBC或是MySQLDriverCS连接MySQL数据库时，我们只需要输入数据库主机地址、数据库名称、数据库访问账号和数据库的访问密码就可以正常使用了。但MySQL Connector Net却不是这样。在使用"host=localhost;database=test;uid=root;pwd=;"这个字符串连接MySQL时，保存到数据库中的中文字符总是变成类似???的那美克星文。不解]]></description><category></category></item><item><title><![CDATA[Global.asax的使用方法]]></title><link>https://blog.youkuaiyun.com/AdNT/article/details/230165</link><guid>https://blog.youkuaiyun.com/AdNT/article/details/230165</guid><author>AdNT</author><pubDate>Sun, 26 Dec 2004 21:37:00 +0800</pubDate><description><![CDATA[当页面遇到一个未处理的异常时，展现给用户的将是难看的报错信息。其实只要在Global.asax文件的Application_Error事件中添加用于处理异常的代码，就可以避免用户看到那些报错信息了。例如在WebForm1.cs的Page_Load事件中添加using System.Text.RegularExpressions;string errMessage = "遇到一个未处]]></description><category></category></item><item><title><![CDATA[Server.Transfer与Response.Redirect的不同]]></title><link>https://blog.youkuaiyun.com/AdNT/article/details/229761</link><guid>https://blog.youkuaiyun.com/AdNT/article/details/229761</guid><author>AdNT</author><pubDate>Sun, 26 Dec 2004 13:23:00 +0800</pubDate><description><![CDATA[在MSDN看关于Session的文档时，发现示例代码中有个Server.Transfer。Server.Transfer与Response.Redirect有什么不同呢？去Google搜了一下，搜到一篇Blog：Server的Transfer和Response的Redirect关于Server.Transfer与Response.Redirect的不同之处，摘抄如下：//Trans]]></description><category></category></item><item><title><![CDATA[“附值”与“付值”]]></title><link>https://blog.youkuaiyun.com/AdNT/article/details/229744</link><guid>https://blog.youkuaiyun.com/AdNT/article/details/229744</guid><author>AdNT</author><pubDate>Sun, 26 Dec 2004 12:52:00 +0800</pubDate><description><![CDATA[平时经常说给一个变量附值，今天写Blog的时候才想起来，到底是“附值”，还是“付值”？用Google和百度搜索了一下，使用“附值”搜索到的结果比较多。呵呵，那俺就用“附值”吧。想查词典，但手头没有。试试金山词霸，结果是，失望……]]></description><category></category></item><item><title><![CDATA[Session的使用方法]]></title><link>https://blog.youkuaiyun.com/AdNT/article/details/229739</link><guid>https://blog.youkuaiyun.com/AdNT/article/details/229739</guid><author>AdNT</author><pubDate>Sun, 26 Dec 2004 12:49:00 +0800</pubDate><description><![CDATA[目前我对Session的理解是：Session是保存在服务器端的用户变量。我可以在一个页面中对Session进行值，然后在另一个页面里访问它。Session的附值方法如下：int userId = 1;string userName = "test";string userPwd = "e10adc3949ba59abbe56e057f20f883e"Session["userId"]]]></description><category></category></item><item><title><![CDATA[我的第一篇Blog]]></title><link>https://blog.youkuaiyun.com/AdNT/article/details/229701</link><guid>https://blog.youkuaiyun.com/AdNT/article/details/229701</guid><author>AdNT</author><pubDate>Sun, 26 Dec 2004 12:05:00 +0800</pubDate><description><![CDATA[最近开始学习ASP.NET，而且每天都有新的收获。我担心我会忘记之前学习到的知识。所以，我申请了这个Blog，打算在这里记录下我每天的学习历程。]]></description><category></category></item></channel></rss>