<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/bestreally</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; bestreally]]></copyright><item><title><![CDATA[PostgreSQL学习手册(函数和操作符<一>)]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/51453209</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/51453209</guid><author>bestreally</author><pubDate>Thu, 19 May 2016 13:45:52 +0800</pubDate><description><![CDATA[一、逻辑操作符：

    常用的逻辑操作符有：AND、OR和NOT。其语义与其它编程语言中的逻辑操作符完全相同。

二、比较操作符：

    下面是PostgreSQL中提供的比较操作符列表：





操作符

描述



小于


>
大于



小于或等于


>=
大于或等于


=
等于


!=
不等于
]]></description><category></category></item><item><title><![CDATA[C#webservice  外网返回XML 设置]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/42459565</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/42459565</guid><author>bestreally</author><pubDate>Tue, 06 Jan 2015 15:14:13 +0800</pubDate><description><![CDATA[C#webservice 默认情况下 是SOAP协议
如果要在外网访问该接口，需要设置Httpget的请求，或者POST 请求。


在 几点下面新增


  
           
           
           
           
           
            
   





就OK 了]]></description><category></category></item><item><title><![CDATA[Js获取当前日期时间及其它操作]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/41696367</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/41696367</guid><author>bestreally</author><pubDate>Wed, 03 Dec 2014 14:04:00 +0800</pubDate><description><![CDATA[var myDate = new Date();
myDate.getYear();        //获取当前年份(2位)
myDate.getFullYear();    //获取完整的年份(4位,1970-????)
myDate.getMonth();       //获取当前月份(0-11,0代表1月)
myDate.getDate();        //获取当前日(1-31)]]></description><category></category></item><item><title><![CDATA[LigerDailog 一些Mark]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/41649061</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/41649061</guid><author>bestreally</author><pubDate>Mon, 01 Dec 2014 16:34:10 +0800</pubDate><description><![CDATA[//关闭ligerUI  dailog 子窗口
parent.$('#ChoseVehs').parentsUntil("div.l-dialog-win").remove();
ChoseVehs-- 子窗口ID

//绑定ligerui dailog 窗口  XX关闭事件
 parent.$('.l-dialog-close').bind("mousedown", FuncSure)]]></description><category></category></item><item><title><![CDATA[解决页面打印去掉打印挨扭]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/40586713</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/40586713</guid><author>bestreally</author><pubDate>Wed, 29 Oct 2014 15:15:15 +0800</pubDate><description><![CDATA[@media print {.btn{display: none;}}]]></description><category></category></item><item><title><![CDATA[解决Oracle in 超过1000个问题 C#拼接字符串]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/40582279</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/40582279</guid><author>bestreally</author><pubDate>Wed, 29 Oct 2014 10:18:59 +0800</pubDate><description><![CDATA[private string getOracleSQLIn(string[] ids, string field)
        {
            int count = Math.Min(ids.Length, 1000);
            int len = ids.Length;
            int size = len % count;
     ]]></description><category></category></item><item><title><![CDATA[C# 文件下载 四大方法]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/39895567</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/39895567</guid><author>bestreally</author><pubDate>Wed, 08 Oct 2014 16:44:53 +0800</pubDate><description><![CDATA[using System;

using System.Data;

using System.Configuration;

using System.Web;

using System.Web.Security;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Web.UI]]></description><category></category></item><item><title><![CDATA[用于将错误信息输出到txt文件]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/39890727</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/39890727</guid><author>bestreally</author><pubDate>Wed, 08 Oct 2014 10:44:25 +0800</pubDate><description><![CDATA[/// 
    /// 用于将错误信息输出到txt文件
    /// 
    /// 错误详细信息
    public static void WriteError(string errorMessage)
    {
        try
        {
            string path = "~/Error/" + DateTime.Today.ToString("]]></description><category></category></item><item><title><![CDATA[C# 计算出 今天是今年的第几个礼拜(PS:1月1号是第一个礼拜)]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/25718379</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/25718379</guid><author>bestreally</author><pubDate>Tue, 13 May 2014 16:02:34 +0800</pubDate><description><![CDATA[/// 
   /// 根据time时间获取 改time 为今年的第几个星期
   /// 
   /// 
   /// 
   private string getDayWeekthofYear(string strtime)
   {
       int weekth=2;
       if(!string.IsNullOrEmpty(strtime))
       ]]></description><category></category></item><item><title><![CDATA[NPOI 获取EXCEL 中的数据资料——EXCEL 2007 以下版本针对于XLS文件]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/23775951</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/23775951</guid><author>bestreally</author><pubDate>Tue, 15 Apr 2014 17:51:17 +0800</pubDate><description><![CDATA[public static DataTable ReadExcelFile(string filePath)
        {
            HSSFWorkbook hssfworkbook;
            #region//初始化信息
            try
            {
                using (FileStream]]></description><category></category></item><item><title><![CDATA[使用NPOI 汇出EXCEL，设置样式，字体等]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/23257851</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/23257851</guid><author>bestreally</author><pubDate>Wed, 09 Apr 2014 11:33:41 +0800</pubDate><description><![CDATA[MemoryStream ms = new MemoryStream();
 
  XSSFWorkbook workbook = new XSSFWorkbook();//创建Workbook对象
            for (int i = 0; i 
            {
                ISheet sheet = workbook.CreateShee]]></description><category></category></item><item><title><![CDATA[输入的时候同步转大写-JS]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/17093247</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/17093247</guid><author>bestreally</author><pubDate>Tue, 03 Dec 2013 11:36:57 +0800</pubDate><description><![CDATA[输入的时候同步转大写-JS
    string script = "function crmbrempno_dyjs() ";
        script += "{ document.getElementById('S_" + fa02bnloca.ClientID + "').value=document.getElementById('S_" + fa02bnloca.ClientI]]></description><category></category></item><item><title><![CDATA[c# FTP操作类]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/9198361</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/9198361</guid><author>bestreally</author><pubDate>Fri, 28 Jun 2013 16:49:38 +0800</pubDate><description><![CDATA[using System; 
using System.Collections.Generic; 
using System.Text; 
using System.IO; 
using System.Net; 
using System.Windows.Forms; 
using System.Globalization; 
  
namespace FtpLib 
{]]></description><category></category></item><item><title><![CDATA[ReadExcel and doExport & doUpdate]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/9136071</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/9136071</guid><author>bestreally</author><pubDate>Thu, 20 Jun 2013 12:35:52 +0800</pubDate><description><![CDATA[/// 
    /// 使用頻率：低
    /// 讀取EXCEL內容
    /// 
    /// EXCEL路徑
    /// EXCEL工作表名 如sheet1,sheet2，不要加$
    /// 返回DataTable
    public static DataTable ReadExcel(string excelPath, string exceltabl]]></description><category></category></item><item><title><![CDATA[将EXCEL 中的数据导入，转化为DataTable]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/9013007</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/9013007</guid><author>bestreally</author><pubDate>Mon, 03 Jun 2013 14:05:03 +0800</pubDate><description><![CDATA[/// 
    /// 讀取EXCEL內容
    /// 
    /// EXCEL路徑
    /// EXCEL工作表名 如sheet1,sheet2，不要加$
    /// 返回DataTable
    public static DataTable ReadExcel(string excelPath, string exceltableName)
    {]]></description><category></category></item><item><title><![CDATA[JS 文本框输入字数 显示剩余]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/8788848</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/8788848</guid><author>bestreally</author><pubDate>Thu, 11 Apr 2013 16:06:06 +0800</pubDate><description><![CDATA[//JS写法

        function keypress(text, label) {
            var count = document.getElementById(text).value.length;
            if (500 - count >= 0) {
                document.getElementById(la]]></description><category></category></item><item><title><![CDATA[导出Excel 并且适应列宽的长度]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/8788758</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/8788758</guid><author>bestreally</author><pubDate>Thu, 11 Apr 2013 15:55:38 +0800</pubDate><description><![CDATA[///DataObject[] 可以把它试做为DataTable
private void ExportExcel(DataObject[] objs)
    {
        //读取Excel路徑
        string excelSource = Server.MapPath("SIP016Export.xls");
        string FileName = "]]></description><category></category></item><item><title><![CDATA[获取网站根目录地址（绝对路径地址）]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/8711803</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/8711803</guid><author>bestreally</author><pubDate>Sun, 24 Mar 2013 08:26:29 +0800</pubDate><description><![CDATA[/// 
        /// 获取路径
        /// 
        /// 
        public string GetRootURI()
        {
            string AppPath = "";
            HttpContext HttpCurrent = HttpContext.Current;]]></description><category></category></item><item><title><![CDATA[将页面上的图片等比例缩放显示出来]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/8638245</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/8638245</guid><author>bestreally</author><pubDate>Tue, 05 Mar 2013 15:29:05 +0800</pubDate><description><![CDATA[页面上加上这段脚本   控制 Image 控件缩放图片。

     function DrawImage(ImgD) {
         var image = new Image();
         var iwidth = 800;
         var iheight = 600; //定义允许高度，当宽度大于这个值时等比例缩小
         image.src]]></description><category></category></item><item><title><![CDATA[将数据库 二进制流 图片数据 显示出来]]></title><link>https://blog.youkuaiyun.com/bestreally/article/details/8622589</link><guid>https://blog.youkuaiyun.com/bestreally/article/details/8622589</guid><author>bestreally</author><pubDate>Thu, 28 Feb 2013 16:09:30 +0800</pubDate><description><![CDATA[将资料库中的二进制流图片数据呈现出来
 将图片存入数据库显示出来
首先先要将图片的二进制流数据从资料库中取出来一定要为 object
类型
要不然强制转换数据会导致类型转化异常 byte[]
类型。
byte[] MyData =
new byte[0];
        string ImageGUID = Request.QueryString["ImageGUID"];]]></description><category></category></item></channel></rss>