<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[曹秉毅的blog]]></title><description><![CDATA[追随我心!]]></description><link>https://blog.csdn.net/caobingyi</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; caobingyi]]></copyright><item><title><![CDATA[.net 中文传参(比较实用)]]></title><link>https://blog.csdn.net/caobingyi/article/details/7995141</link><guid>https://blog.csdn.net/caobingyi/article/details/7995141</guid><author>caobingyi</author><pubDate>Wed, 19 Sep 2012 11:14:43 +0800</pubDate><description><![CDATA[一般有3种方法： 
1.设置web.config文件 

   
......   
  

......   
   
2.传递中文之前，将要传递的中文参数进行编码，在接收时再进行解码。   
> >   进行传递   
string   Name   =   "中文参数 ";   
Response.Redirect( "B.aspx?Name= "+Server.Ur]]></description><category></category></item><item><title><![CDATA[SQL IN and Exists 效率高低比较]]></title><link>https://blog.csdn.net/caobingyi/article/details/7676795</link><guid>https://blog.csdn.net/caobingyi/article/details/7676795</guid><author>caobingyi</author><pubDate>Tue, 19 Jun 2012 15:35:15 +0800</pubDate><description><![CDATA[in 和exists
in 是把外表和内表作hash 连接，而exists 是对外表作loop 循环，每次loop 循环再对内
表进行查询。
一直以来认为exists 比in 效率高的说法是不准确的。
如果查询的两个表大小相当，那么用in 和exists 差别不大。
如果两个表中一个较小，一个是大表，则子查询表大的用exists，子查询表小的用in：
例如：表A（小表），表B（大表）]]></description><category></category></item><item><title><![CDATA[Sql语句获取表结构]]></title><link>https://blog.csdn.net/caobingyi/article/details/7665192</link><guid>https://blog.csdn.net/caobingyi/article/details/7665192</guid><author>caobingyi</author><pubDate>Fri, 15 Jun 2012 09:17:26 +0800</pubDate><description><![CDATA[SQL SERVER 
--查看所有表名：
select    name    from    sysobjects    where    type='U'
--查询表的所有字段名：
Select name from syscolumns Where ID=OBJECT_ID('表名')
select * from information_schema.tables
select *]]></description><category></category></item><item><title><![CDATA[Maximum request length exceeded.]]></title><link>https://blog.csdn.net/caobingyi/article/details/7290627</link><guid>https://blog.csdn.net/caobingyi/article/details/7290627</guid><author>caobingyi</author><pubDate>Fri, 24 Feb 2012 14:36:30 +0800</pubDate><description><![CDATA[Server Error in '/tcms' Application.


Maximum request length exceeded. 
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trac]]></description><category></category></item><item><title><![CDATA[.NET编程中常用的路径表示方式]]></title><link>https://blog.csdn.net/caobingyi/article/details/5923809</link><guid>https://blog.csdn.net/caobingyi/article/details/5923809</guid><author>caobingyi</author><pubDate>Wed, 06 Oct 2010 16:06:00 +0800</pubDate><description><![CDATA[路径表示 绝对路径 相对路径]]></description><category></category></item><item><title><![CDATA[WPF游戏 菜鸟版俄罗斯方块(转)]]></title><link>https://blog.csdn.net/caobingyi/article/details/5906878</link><guid>https://blog.csdn.net/caobingyi/article/details/5906878</guid><author>caobingyi</author><pubDate>Sun, 26 Sep 2010 11:05:00 +0800</pubDate><description><![CDATA[<br />在以前的MFC、winform中实现一个游戏程序是一件相当困难的事情，自从WPF诞生后，富客户端设计工作变得相对简单。本人刚学WPF不久，写写劣质代码望大侠莫见笑。自于这个游戏本身的实现方式我并未去研究，这里只是根据自己的理解来做。<br /> <br />代码下载：http://files.cnblogs.com/lipan/WpfGame1.rar<br /> <br />主要思想：<br />一、提供一个容器类（Container），用来作为方块活动的网格状区域。由于WPF自带Grid控件]]></description><category></category></item><item><title><![CDATA[MSSQL数据库823错误解决方(警告: 严重错误 823 发生于 09 15 2010  8:10AM。请记下错误和时间，然后与系统管理员联系)]]></title><link>https://blog.csdn.net/caobingyi/article/details/5885134</link><guid>https://blog.csdn.net/caobingyi/article/details/5885134</guid><author>caobingyi</author><pubDate>Wed, 15 Sep 2010 09:21:00 +0800</pubDate><description><![CDATA[MSSQL 823错误]]></description><category></category></item><item><title><![CDATA[Access to the path 'E:/EIMS/EIMSweb/hshupfile/201006/20100621050801290.xls' is denied.]]></title><link>https://blog.csdn.net/caobingyi/article/details/5839294</link><guid>https://blog.csdn.net/caobingyi/article/details/5839294</guid><author>caobingyi</author><pubDate>Thu, 26 Aug 2010 08:39:00 +0800</pubDate><description><![CDATA[文件夹 权限]]></description><category></category></item><item><title><![CDATA[SQL Server中如何写存储过程]]></title><link>https://blog.csdn.net/caobingyi/article/details/5708306</link><guid>https://blog.csdn.net/caobingyi/article/details/5708306</guid><author>caobingyi</author><pubDate>Fri, 02 Jul 2010 09:05:00 +0800</pubDate><description><![CDATA[1、设计存储过程几乎任何可写成批处理的 Transact-SQL 代码都可用于创建存储过程。2、存储过程的设计规则存储过程的设计规则包括： CREATE PROCEDURE 定义本身可包括除下列 CREATE 语句以外的任何数量和类型的 SQL 语句，存储过程中的任意地方都不能使用下列语句： 
CREATE DEFAULTCREATE TRIGGERCREATE PROCEDURECREATE VIEWCREATE RULE 可在存储过程中创建其它数据库对象。可以引用在同一存储过程中创建的对象，前提是在创]]></description><category></category></item><item><title><![CDATA[(转)UltraWebGrid使用指南 - 前台属性和方法(JavaScript用)]]></title><link>https://blog.csdn.net/caobingyi/article/details/5704535</link><guid>https://blog.csdn.net/caobingyi/article/details/5704535</guid><author>caobingyi</author><pubDate>Wed, 30 Jun 2010 14:27:00 +0800</pubDate><description><![CDATA[前台属性(JavaScript用)gridId: UltraWebGrid1  rowId的形式:     UltraWebGrid1r_4cellId的形式: UltraWebGrid1rc_4_1Grid オブジェクト{      .RowSizing = 2;        .SelectTypeRow = 2;}行(Row オブジェクト):{      .Element.id ---------　形式:WebGrid名称+r_X(X:Row番号)                           ]]></description><category></category></item><item><title><![CDATA[(转)UltraWebGrid使用指南 - 前台事件]]></title><link>https://blog.csdn.net/caobingyi/article/details/5703958</link><guid>https://blog.csdn.net/caobingyi/article/details/5703958</guid><author>caobingyi</author><pubDate>Wed, 30 Jun 2010 11:07:00 +0800</pubDate><description><![CDATA[前台事件：ColumnHeaderClickHandler="UltraWebGrid1_ColumnHeaderClickHandler" BeforeCellChangeHandler="UltraWebGrid1_BeforeCellChangeHandler"BeforeColumnSizeChangeHandler="UltraWebGrid1_BeforeColumnSizeChangeHandler" KeyDownHandler="UltraWebGrid1_KeyDownHandler"B]]></description><category></category></item><item><title><![CDATA[如何对DataTable按需要排序?]]></title><link>https://blog.csdn.net/caobingyi/article/details/5703897</link><guid>https://blog.csdn.net/caobingyi/article/details/5703897</guid><author>caobingyi</author><pubDate>Wed, 30 Jun 2010 10:53:00 +0800</pubDate><description><![CDATA[<br />DataTable.DefaultView 属性<br />获取可能包括筛选视图或游标位置的表的自定义视图。<br />DefaultView 属性返回可用于排序、筛选和搜索 DataTable 的 DataView。<br /> <br />示例<br />erptable.DefaultView.Sort = "hwid,erpid";  //对erptable按HWID,ERPID排序<br /> <br />//来自MSDN<br />privatevoid ChangeRowFilte]]></description><category></category></item><item><title><![CDATA[如何在ClientSideEvents的AfterCellUpdateHandler事件处理中取消某些不必要的postback?]]></title><link>https://blog.csdn.net/caobingyi/article/details/5685172</link><guid>https://blog.csdn.net/caobingyi/article/details/5685172</guid><author>caobingyi</author><pubDate>Tue, 22 Jun 2010 01:20:00 +0800</pubDate><description><![CDATA[如某些单元格必须使用UpdateCell服务器端事件，此时也可以在ClientSideEvents的AfterCellUpdateHandler事件处理中取消某些不必要的postback，代码如下：    function AfterCellUpdate(tableName,itemName)
    {
    
    
        var cell = igtbl_getCellById(itemName);
        var columnname = cell.Column.Ke]]></description><category></category></item><item><title><![CDATA[[转]UltraWebGrid控件在开发ASP.NET项目中的使用方法和技巧]]></title><link>https://blog.csdn.net/caobingyi/article/details/5674866</link><guid>https://blog.csdn.net/caobingyi/article/details/5674866</guid><author>caobingyi</author><pubDate>Thu, 17 Jun 2010 10:25:00 +0800</pubDate><description><![CDATA[原文地址：http://www.cnblogs.com/chjf2008/archive/2008/08/11/1265343.html#摘  要 本文主要阐述了UltraWebGrid 2005控件在实际项目开发中的应用,这里以大庆石化公司炼油厂生产调度系统为例详细描述了UltraWebGrid控件的原理以及它的使用方法和技巧，还特别介绍了以Excel为数据源的绑定方法，以及应用JAVASCRIP实现了光标在UltraWebGrid cell中回车后纵向行走的方法。 关键词 ASP.NET；Microso]]></description><category></category></item><item><title><![CDATA[类型“ASP.global_asax”同时存在于......]]></title><link>https://blog.csdn.net/caobingyi/article/details/5659540</link><guid>https://blog.csdn.net/caobingyi/article/details/5659540</guid><author>caobingyi</author><pubDate>Wed, 09 Jun 2010 22:03:00 +0800</pubDate><description><![CDATA[<br />错误信息:<br />Error 1 类型“ASP.global_asax”同时存在于“c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/eimsweb/6c5efeba/eecd7157/assembly/dl3/a587c019/00f31d7d_3d90ca01/App_global.asax.DLL”和“c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Te]]></description><category></category></item><item><title><![CDATA[如何求产品的最新,最高,最低,平均价格?]]></title><link>https://blog.csdn.net/caobingyi/article/details/5636267</link><guid>https://blog.csdn.net/caobingyi/article/details/5636267</guid><author>caobingyi</author><pubDate>Mon, 31 May 2010 12:45:00 +0800</pubDate><description><![CDATA[表rcyw_dj中有列:erpid(ERP编码),dj(单价),cjrq(创建日期);说明:erpid可能会重复,每一erpid都有一dj,cjrq;求最高,最低,平均价格比较简单:select erpid,min(dj) as zdjg,max(dj) as zgjg,avg(dj) as pjjg from rcyw_dj where erpid like '911700%' group by erpid求最新价格:select rcyw_dj.erpid, rcyw_dj.dj as zxjg fro]]></description><category></category></item><item><title><![CDATA[暴强的笑话]]></title><link>https://blog.csdn.net/caobingyi/article/details/5633469</link><guid>https://blog.csdn.net/caobingyi/article/details/5633469</guid><author>caobingyi</author><pubDate>Sat, 29 May 2010 19:32:00 +0800</pubDate><description><![CDATA[1、在学校内部小超市买零食，一共需要付四元，付钱时，我给了女收银员十块钱，她找我七块钱！多找了一块！我自认为作为新时代的高中生不应该贪小便宜，于是我对她说：“你找错钱了吧？”她一愣，看了看我手中的东西，又看看我手里的钱，可爱的吐了吐舌头，又拿了一块钱放到我手里！我无语了，就这么看着她！她跟尴尬，思忖良久，又拿了四十块钱放到我手里，还自我辩解道：“不好意思，我当十块的找你了！”我真的不想占小便宜，但]]></description><category></category></item><item><title><![CDATA[如何在UltraWebGrid的Cell中显示Image?]]></title><link>https://blog.csdn.net/caobingyi/article/details/5630150</link><guid>https://blog.csdn.net/caobingyi/article/details/5630150</guid><author>caobingyi</author><pubDate>Fri, 28 May 2010 11:11:00 +0800</pubDate><description><![CDATA[1.如果绑定grid至少一条记录的：可以设置CellStyle中的Background 属性为图片的地址，也可以设置CustomRules 属性，使图片只显示一张（默认情况下是图片重复显示，直到添满cell）。在UltraWebGrid的InitializeRow 事件中添加下列代码片断即可实现。另外，如果需要图片有提示信息，可以设置该列的Title属性为要显示的文字。e.Row.Cells.]]></description><category></category></item><item><title><![CDATA[C#判断字符串是否为数字字符串(转)]]></title><link>https://blog.csdn.net/caobingyi/article/details/5613158</link><guid>https://blog.csdn.net/caobingyi/article/details/5613158</guid><author>caobingyi</author><pubDate>Fri, 21 May 2010 09:39:00 +0800</pubDate><description><![CDATA[在进行C#编程时候，有的时候我们需要判断一个字符串是否是数字字符串，我们可以通过以下两种方法来实现。【方法一】：使用 try{} catch{} 语句。      我们可以在try语句块中试图将string类型的字符串变量转换为int类型，如果该字符串不是数字字符串则会抛出异常，这时在catch语句块中就能捕获异常。一旦发现异常，则不是数字字符串。我们可以以下三种方式将string类型转换为int]]></description><category></category></item><item><title><![CDATA[如何将Excel作为UltraWebGrid 数据源绑定到UltraWebGrid中?]]></title><link>https://blog.csdn.net/caobingyi/article/details/5595586</link><guid>https://blog.csdn.net/caobingyi/article/details/5595586</guid><author>caobingyi</author><pubDate>Sat, 15 May 2010 17:04:00 +0800</pubDate><description><![CDATA[解决办法如下：在页面中点击“浏览”选择要导入的Excel表后，点击“装载”按钮将Excel中的数据绑定到UltraWebGrid中显示。下面是“装载”按钮中click事件的代码。    protected void btn_zhuangzai_Click(object sender, EventArgs e)    {        try        {          ]]></description><category></category></item></channel></rss>