<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Gold Country---Pashine技术博客]]></title><description><![CDATA[N88Basic,VBScript,VBA,VB5,VB6, VB.NET, ASP.NET ,Sqlserver,Oracle]]></description><link>https://blog.csdn.net/pashine</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; pashine]]></copyright><item><title><![CDATA[火星坐标、百度坐标、WGS84坐标转换代码]]></title><link>https://blog.csdn.net/pashine/article/details/81283390</link><guid>https://blog.csdn.net/pashine/article/details/81283390</guid><author>pashine</author><pubDate>Mon, 30 Jul 2018 13:29:44 +0800</pubDate><description><![CDATA[ 互联网地图的坐标系现状

地球坐标 (WGS84)

国际标准，从 GPS 设备中取出的数据的坐标系
	国际地图提供商使用的坐标系
火星坐标 (GCJ-02)也叫国测局坐标系

中国标准，从国行移动设备中定位获取的坐标数据使用这个坐标系
	国家规定： 国内出版的各种地图系统（包括电子形式），必须至少采用GCJ-02对地理位置进行首次加密。
	（Google国内地图,搜搜、阿里云、高德地图、腾讯地...]]></description><category></category></item><item><title><![CDATA[在mysql中给查询的结果添加序号]]></title><link>https://blog.csdn.net/pashine/article/details/78919055</link><guid>https://blog.csdn.net/pashine/article/details/78919055</guid><author>pashine</author><pubDate>Thu, 28 Dec 2017 10:18:32 +0800</pubDate><description><![CDATA[在mysql中给查询的结果添加序号;
在程序中使用带变量的SQL语句 Allow USER VARIABLES
Fatal error encountered during command execution.]]></description><category></category></item><item><title><![CDATA[Mysql的跨服务器 关联查询--Federated引擎]]></title><link>https://blog.csdn.net/pashine/article/details/78875540</link><guid>https://blog.csdn.net/pashine/article/details/78875540</guid><author>pashine</author><pubDate>Fri, 22 Dec 2017 17:39:31 +0800</pubDate><description><![CDATA[Mysql的跨服务器 关联查询--Federated引擎]]></description><category></category></item><item><title><![CDATA[在SQLserver中stuff 函数用法]]></title><link>https://blog.csdn.net/pashine/article/details/51967186</link><guid>https://blog.csdn.net/pashine/article/details/51967186</guid><author>pashine</author><pubDate>Wed, 20 Jul 2016 12:39:43 +0800</pubDate><description><![CDATA[--提取数字
IF OBJECT_ID('DBO.GET_NUMBER') IS NOT NULL
DROP FUNCTION DBO.GET_NUMBER
GO
CREATE FUNCTION DBO.GET_NUMBER(@S VARCHAR(100))
RETURNS VARCHAR(100)
AS
BEGIN
WHILE PATINDEX('%[^0-9]%',@S) > ]]></description><category></category></item><item><title><![CDATA[sql中如何调用另一台服务器的数据库查询数据呢?]]></title><link>https://blog.csdn.net/pashine/article/details/51517714</link><guid>https://blog.csdn.net/pashine/article/details/51517714</guid><author>pashine</author><pubDate>Fri, 27 May 2016 16:24:00 +0800</pubDate><description><![CDATA[exec sp_addlinkedserver 'csj','','SQLOLEDB','pc'  -- 把【数据库地址pc】与连接名称【csj】绑定
exec sp_addlinkedsrvlogin 'csj','false',null,'sa','123456'   -- 把【用户名sa】和【密码123456】与连接名称【csj】绑定

-- 建立完成之后就可以正常使用了 

se]]></description><category></category></item><item><title><![CDATA[Asp.net中GridView使用详解]]></title><link>https://blog.csdn.net/pashine/article/details/48377989</link><guid>https://blog.csdn.net/pashine/article/details/48377989</guid><author>pashine</author><pubDate>Fri, 11 Sep 2015 20:51:27 +0800</pubDate><description><![CDATA[Asp.net中GridView使用详解





GridView无代码分页排序
GridView选中，编辑，取消，删除
GridView正反双向排序
GridView和下拉菜单DropDownList结合
GridView和CheckBox结合
鼠标移到GridView某一行时改变该行的背景色方法一
鼠标移到GridView某一行时改变该行的背景色方法二
GridVi]]></description><category></category></item><item><title><![CDATA[WinForm设置DataGridView某些行和列只读]]></title><link>https://blog.csdn.net/pashine/article/details/42519961</link><guid>https://blog.csdn.net/pashine/article/details/42519961</guid><author>pashine</author><pubDate>Thu, 08 Jan 2015 09:33:32 +0800</pubDate><description><![CDATA[WinForm设置DataGridView某些行和列的只读
列只读设置比较容易，行只读设置要求将SelectionMode设置为CellSelect，EditMode设置为EditOnEnter 。]]></description><category></category></item><item><title><![CDATA[VBA获取某文件夹下所有文件和子文件目录的文件]]></title><link>https://blog.csdn.net/pashine/article/details/42100237</link><guid>https://blog.csdn.net/pashine/article/details/42100237</guid><author>pashine</author><pubDate>Tue, 23 Dec 2014 11:11:54 +0800</pubDate><description><![CDATA[VBA获取某文件夹下所有文件，或子文件目录的文件

'-------------------------------------------
'获取某文件夹下的所有Excel文件
'-------------------------------------------
Sub getExcelFile(sFolderPath As String)
On Error Resume Next
Di]]></description><category></category></item><item><title><![CDATA[通过VBA在Excel中添加菜单和菜单项按钮（Excel启动时候添加）]]></title><link>https://blog.csdn.net/pashine/article/details/41242137</link><guid>https://blog.csdn.net/pashine/article/details/41242137</guid><author>pashine</author><pubDate>Tue, 18 Nov 2014 09:24:44 +0800</pubDate><description><![CDATA[将以下代码保存到.xlam或.xla(Excel97-2003)文件。

在ThisWorkBook对象中，添加Workbook_Open事件，调用启动菜单过程。
Private Sub Workbook_Open()
    Call MenuSetup(True)
End Sub

'-----------------------------------------------
'在Excel]]></description><category></category></item><item><title><![CDATA[SQL Server 2008 R2 下如何清理数据库日志文件]]></title><link>https://blog.csdn.net/pashine/article/details/23390173</link><guid>https://blog.csdn.net/pashine/article/details/23390173</guid><author>pashine</author><pubDate>Thu, 10 Apr 2014 22:37:15 +0800</pubDate><description><![CDATA[废话不多说，直接上代码，清理后日志文件为1M
[sql] view plaincopyprint?

1.    USE [master]  
2.    GO  
3.    ALTER DATABASE [数据库名] SET RECOVERY SIMPLE WITH NO_WAIT  
4.    GO  
5.    ALTER DATABASE [数据库名] SET RECO]]></description><category></category></item><item><title><![CDATA[通过右键菜单复制只读的 DataGridView 单元格内容]]></title><link>https://blog.csdn.net/pashine/article/details/18399611</link><guid>https://blog.csdn.net/pashine/article/details/18399611</guid><author>pashine</author><pubDate>Fri, 17 Jan 2014 09:24:01 +0800</pubDate><description><![CDATA[通过右键菜单复制只读的 DataGridView 单元格内容]]></description><category></category></item><item><title><![CDATA[sqlserver2008的数据库自动备份方法]]></title><link>https://blog.csdn.net/pashine/article/details/18324837</link><guid>https://blog.csdn.net/pashine/article/details/18324837</guid><author>pashine</author><pubDate>Wed, 15 Jan 2014 22:02:39 +0800</pubDate><description><![CDATA[sqlserver2008的数据库自动备份方法




    在SQL Server中出于数据安全的考虑，所以需要定期的备份数据库。而备份数据库一般又是在凌晨时间基本没有数据库操作的时候进行，所以我们不可能要求管理员每天守到晚上1点去备份数据库。要实现数据库的定时自动备份，最常用的方式就是使用SQL Server代理中的作业。启动SQL Server Agent服务，然后在其中新建作业]]></description><category></category></item><item><title><![CDATA[VB.NET发送电子邮件（通过使用SmtpClient类）]]></title><link>https://blog.csdn.net/pashine/article/details/18048487</link><guid>https://blog.csdn.net/pashine/article/details/18048487</guid><author>pashine</author><pubDate>Thu, 09 Jan 2014 19:39:49 +0800</pubDate><description><![CDATA[VB.NET发送电子邮件（通过使用SmtpClient类）]]></description><category></category></item><item><title><![CDATA[.NET将Form窗体作为子控件 显示在Panel中]]></title><link>https://blog.csdn.net/pashine/article/details/12957527</link><guid>https://blog.csdn.net/pashine/article/details/12957527</guid><author>pashine</author><pubDate>Wed, 23 Oct 2013 00:05:16 +0800</pubDate><description><![CDATA[.NET将Form窗体作为子控件 显示在Panel中

1. 在窗体的构造器New()方法中，添加以下代码

       Public Sub New()
            ' 此调用是 Windows 窗体设计器所必需的。
            InitializeComponent()
            ' 在 InitializeComponent() 调用之后]]></description><category></category></item><item><title><![CDATA[DataGridView控件用法（一）绑定数据-修改列值-序号列-交换列顺序]]></title><link>https://blog.csdn.net/pashine/article/details/12880095</link><guid>https://blog.csdn.net/pashine/article/details/12880095</guid><author>pashine</author><pubDate>Sun, 20 Oct 2013 01:40:08 +0800</pubDate><description><![CDATA[DataGridView控件用法（一）：绑定数据-修改列值-序号列-交换列顺序
Wind 撰写于 2012 年 3 月 21 日 | 分类 :C#
 Winform程序开发 | 没有评论 | 10,200 次浏览

  一、 DataGridView控件的用法（如何绑定、修改其中某一列值、添加序号列、交换任意2列显示顺序）
1. DataGridView绑定数据源。
        D]]></description><category></category></item><item><title><![CDATA[WebBrowser控件使用技巧分享]]></title><link>https://blog.csdn.net/pashine/article/details/8475938</link><guid>https://blog.csdn.net/pashine/article/details/8475938</guid><author>pashine</author><pubDate>Mon, 07 Jan 2013 10:52:32 +0800</pubDate><description><![CDATA[WebBrowser控件使用技巧分享



 
在发布“淘宝登货员”时发现不少朋友对WebBrowser控件比较感兴趣，故在此分享一下使用心得。
首先分享一个WebBrowser的扩展类（此类所需的dll将在文章末尾提供下载），大家最好都使用这个类来替代.Net框架中的WebBrowser类，它提供了两个扩展功能：
1.屏蔽错误脚本提示。修正了WebBrowser控件本身屏蔽错误不全]]></description><category></category></item><item><title><![CDATA[Excel中只对可见数据求和，实现完美自动筛选.]]></title><link>https://blog.csdn.net/pashine/article/details/7686109</link><guid>https://blog.csdn.net/pashine/article/details/7686109</guid><author>pashine</author><pubDate>Sat, 23 Jun 2012 15:11:32 +0800</pubDate><description><![CDATA[在使用EXCEL筛选功能时，有个让人非常苦恼的事情，就是筛选出来的数据没有小计，如果用常规的sum函数求和，那些被隐藏的行也被被计算进去，得到的不是小计，而是所有数据的总计。


要实现这个效果，其实非常简单，下面就跟着我一步一步来吧：
一、自动筛选
（1）先在第19行上面插入一个空行：

这样合计行会变成第20行。
为什么要插入空行呢，因为如果没有这个空行，你即使在合计行设置了小]]></description><category></category></item><item><title><![CDATA[DataGridView右键点击行时选中行,并且弹右键快捷菜单]]></title><link>https://blog.csdn.net/pashine/article/details/6115286</link><guid>https://blog.csdn.net/pashine/article/details/6115286</guid><author>pashine</author><pubDate>Tue, 04 Jan 2011 13:09:00 +0800</pubDate><description><![CDATA[    'DataGridView右键点击行时选中行,并且弹右键快捷菜单    PrivateSub GridView1_CellMouseDown(ByVal sender AsObject, ByVal e As System.Windows.Forms.DataGridViewCellMouseEventArgs) Handles GridView1.CellMouseDown        If e.Button = Windows.Forms.MouseButtons.Right Then    ]]></description><category></category></item><item><title><![CDATA[修改表的表空间]]></title><link>https://blog.csdn.net/pashine/article/details/6109289</link><guid>https://blog.csdn.net/pashine/article/details/6109289</guid><author>pashine</author><pubDate>Fri, 31 Dec 2010 11:55:00 +0800</pubDate><description><![CDATA[<br />表做表空间迁移<br />    alter table tb_name move tablespace tbs_name;<br /> <br />索引表空间做迁移<br />   alter index index_name rebuild tablespace tbs_name;<br /> <br />　　对于含有lob字段的表，在建立时，oracle会自动为lob字段建立两个单独的segment,一个用来存放数据，另一个用来存放索引，并且它们都会存储在对应表指定的表空间中，上面语句只能]]></description><category></category></item><item><title><![CDATA[关于如何调用DLL文件（动态链接库）的说明]]></title><link>https://blog.csdn.net/pashine/article/details/5927278</link><guid>https://blog.csdn.net/pashine/article/details/5927278</guid><author>pashine</author><pubDate>Fri, 08 Oct 2010 14:44:00 +0800</pubDate><description><![CDATA[<br />.NET如何调用DLL文件<br />(1). 调用.NET生成程的DLL或标准COM组件<br />    直接在.NET工程中添加引用即可。<br />(2). 对于普通的dll<br />    用DllImport引用。<br /> <br /> [DllImport("User32.dll", CharSet=CharSet.Unicode)] <br />    public static extern int MessageBox(int h, string m, string c]]></description><category></category></item></channel></rss>