上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: URL 编码 - 从 %00 到 %8fASCII ValueURL-encodeASCII ValueURL-encodeASCII ValueURL-encodeae%000%30`%60%011%31a%61%022%32b%62%033%33c%63%044%34d%64%055%35e%65%066%36f%66%077%37g%67backspace%088%38h%68tab%099%39i%69linefeed%0a:%3aj%6a%0b;%3bk%6b%0c<%3cl%6cc return%0d=%3dm%6d%0e>%3en%6e%0f?%3fo%6f%10@% 阅读全文
posted @ 2012-04-26 15:58 popoxxll 阅读(1895) 评论(0) 推荐(0) 编辑
摘要: comm.CommandText="insert into Images(Image, contentType) values(@image, @contentType)"; comm.CommandType=CommandType.Text; SqlParameter param=comm.Parameters.Add("@image", SqlDbType.Image); param.Value=content; 似乎一定要采用参数形式如何插入图片: 大致流程:其他图片格式--》image类型的转化--》到MemoryStream流的转换--》到二进 阅读全文
posted @ 2012-04-26 15:49 popoxxll 阅读(301) 评论(0) 推荐(0) 编辑
摘要: --两个截然不同SELECT isnull(max(ti_goods_count)- sum(isnull(sl_count,0)),0) as ti_goods_count, isnull(max(ti_goods_weight)-sum(isnull(sl_weight,0)),0) as ti_goods_weight, isnull(max(ti_goods_body)- sum(isnull(sl_body,0)),0) as ti_goods_body, isnull(max(ti_prepay_price)- sum(isnull(sl_prepay_price,0)),... 阅读全文
posted @ 2012-04-17 10:29 popoxxll 阅读(644) 评论(0) 推荐(0) 编辑
摘要: 于Excel导入的HDR=YES; IMEX=1详解2011年12月27日 星期二 11:17参数HDR的值:HDR=Yes,这代表第一行是标题,不做为数据使用 ,如果用HDR=NO,则表示第一行不是标题,做为数据来使用。系统默认的是YES参数Excel 8.0对于Excel 97以上版本都用Excel 8.0IMEX ( IMport EXport mode )设置 IMEX 有三种模式: 0 is Export mode 1 is Import mode 2 is Linked mode (full update capabilities) 我这里特别要说明的就是 IMEX 参数... 阅读全文
posted @ 2012-04-12 11:42 popoxxll 阅读(30700) 评论(5) 推荐(7) 编辑
摘要: case JSType.SendPrepay://支出 sqlis1 = "update T_COMPACT_INFO set ci_prepay_is=1,ci_prepay_date=convert(varchar,getdate(),120),ci_prepay_man='" + UserInfo.USER_NAME + "',ci_prepay_bank=" + (comBank.SelectedValue ?? "0") + ",ci_prepay_note='" + txtRem 阅读全文
posted @ 2012-04-12 11:41 popoxxll 阅读(471) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using Excel = Microsoft.Office.Interop.Excel;using System.Data.OleDb;using System.Data;using System.Windows.Forms;namespace PublicMod{ public class CExcel { /// <summary> /// 查询类 /// </summary> /// <par... 阅读全文
posted @ 2012-04-12 10:47 popoxxll 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 随之我从(CSDN,CNBLOG,51CTO等)搜了几个解决方案,性能确实都不大理想。首先还是感谢园友这个问题,接下来我就从网上抽取两个案例作优化说明 函数要求实现功能select 函数名 ('你好,我是追索')返回的结果(ni hao , wo shi zhui suo) 解决方案一: 解决方案一 /* 根据汉字获取全拼 1.生成所有读音临时表 2.根据Chinese_PRC_CS_AS_KS_WS 排序获取读音*/create function dbo.fn_Getquanpin1(@str varchar(100))returns varchar(8000)asbegin 阅读全文
posted @ 2012-04-12 10:34 popoxxll 阅读(483) 评论(0) 推荐(0) 编辑
摘要: 加密过程图解1、打开加密程序.. 12、打开程序后,点击加入文件.. 23、选择对WLClient.exe进行加密,点击打开。.. 24、出现界面,红色圈入部分为自动生成。.. 35、点击“显示文件函数列表”,选择WLClient.FrmMain36、输入密钥P1和P2对应的密码,和后台定时检测的时间间隔,点击加密。.. 47、加密成功.. 48、到所示目录下找以下两个文件(只有生成成功才有).. 59、更新这两个文件到对应用户就可以了。.. 61、插上加密锁,打开加密程序2、打开程序后,点击加入文件3、选择对WLClient.exe进行加密,点击打开。4、出现界面,红色圈入部分为自动生成。5 阅读全文
posted @ 2012-04-12 09:24 popoxxll 阅读(294) 评论(0) 推荐(0) 编辑
摘要: struct DataGridViewPoint { public int FirstDisplayedScrollingRowIndex; public int FirstDisplayedScrollingColumnIndex; public object @object; } DataGridViewPoint myDataGridViewPoint;if(myDataGridViewPoint.FirstDisplayedScrollingRowIndex>0&&myDataG... 阅读全文
posted @ 2012-04-12 09:22 popoxxll 阅读(2195) 评论(1) 推荐(0) 编辑
摘要: public static class DataGridView { /// <summary> /// 用于给DataGridView中的行添加一个首列被冻结的为排序的列,排序列自动生成。 /// 如果存在其他列可以排序,还需要在Sorted事件中调用,重新绘制序号 /// </summary> /// <param name="dgv">要添加排序列的GataGridView对象</param> public static void SetRow... 阅读全文
posted @ 2012-04-12 09:22 popoxxll 阅读(1033) 评论(0) 推荐(1) 编辑
上一页 1 ··· 9 10 11 12 13 14 下一页