<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[为了生活你要加油的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Ymcheer</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Ymcheer]]></copyright><item><title><![CDATA[关于SQL Server数据库附加是只读 要怎么解决?]]></title><link>https://blog.csdn.net/Ymcheer/article/details/124034192</link><guid>https://blog.csdn.net/Ymcheer/article/details/124034192</guid><author>Ymcheer</author><pubDate>Fri, 08 Apr 2022 10:01:51 +0800</pubDate><description><![CDATA[我笔记本里面换了硬盘，sqlserver数据库附加上去为只读的，要怎么办？
我用U盘附加就不是只读的，这是什么问题？
方案一：
碰到报错数据库附加是只读，一般原因是因为使用sa账户登录的，
只要改为Windows身份验证，再附加数据库即可搞定。
方案二：
使用sa登录SQL Server2008附加数据库，附加之后数据库为只读的，
然后点数据库–&gt;“属性”–&gt;“选项”–&gt;“状态”，发现“数据库为只读”这一项为True，改为false即可。
版权所属： www.jsons.cn
本文链接： ]]></description><category></category></item><item><title><![CDATA[简单明了的GridView分页代码]]></title><link>https://blog.csdn.net/Ymcheer/article/details/121019970</link><guid>https://blog.csdn.net/Ymcheer/article/details/121019970</guid><author>Ymcheer</author><pubDate>Thu, 28 Oct 2021 18:01:46 +0800</pubDate><description><![CDATA[简单明了的GridView分页代码
 
&lt;asp:GridView ID="GridViewHistory" runat="server" AutoGenerateColumns="False" 
CssClass="vip_table" GridLines="None" BorderStyle="None" CellPadding="0" 
ShowHeader="False" AllowPaging="true" PageSize="20" 
onpageindexchanging="GridVi]]></description><category></category></item><item><title><![CDATA[C# winform用代码实现修改DataGridView列头的名字和修改列名。]]></title><link>https://blog.csdn.net/Ymcheer/article/details/118759346</link><guid>https://blog.csdn.net/Ymcheer/article/details/118759346</guid><author>Ymcheer</author><pubDate>Thu, 15 Jul 2021 14:51:36 +0800</pubDate><description><![CDATA[dataGridView1.Columns[0].HeaderCell.Value = "编号"; 

dataGridView1.Columns[1].HeaderCell.Value = "名称";
注意下标是从0开始的。


]]></description><category></category></item><item><title><![CDATA[C#相对路径和绝对路径]]></title><link>https://blog.csdn.net/Ymcheer/article/details/118488627</link><guid>https://blog.csdn.net/Ymcheer/article/details/118488627</guid><author>Ymcheer</author><pubDate>Mon, 05 Jul 2021 14:08:06 +0800</pubDate><description><![CDATA[在C#中 “\”是特殊字符，要表示它的话需要使用“\”。由于这种写法不方便，C#语言提供了@对其简化。
只要在字符串前加上@即可直接使用“\”。所以上面的路径在C#中应该表示为“Book”，@“\Tmp\Book”，@“C:\Tmp\Book”。
1.绝对路径
绝对路径是指文件在硬盘上真正存在的路径。那么如果要使用绝对路径指定网页的背景图片就应该使用 以下语句：
&lt;body backround="E:\book\网页布局\代码\第2章\bg.jpg" &gt;

2.相对路径
所谓相对路径，就是相对于]]></description><category></category></item></channel></rss>