2011年7月29日
摘要: Xtragrid表格的图片显示,用的控件是repositoryItemPictureEdit 。他只能用System.Byte[]来显示图片。 添加图片列 ds.Tables[0].Columns.Add("PICTURE", typeof(System.Object)); for (int i = 0; i < ds.Tables[0].Rows.Count; i++) { dr = ds.Tables[0].Rows[i]; dr["PICTURE"] = this.GetImage(dr["PATH"].ToString( 阅读全文
posted @ 2011-07-29 11:19 芸 阅读(846) 评论(0) 推荐(1) 编辑
  2009年8月11日
摘要: 例:1 2 34 5 6 7 8 9输出为如下结果1;4;7;8;9;6;3;2;5; private void button1_Click(object sender, EventArgs e) { //测试例子初始化,并将数组显示到控制台 int[,] intArray = new int[5, 8]; int intPos = 0; Console.WriteLine(); for (in... 阅读全文
posted @ 2009-08-11 10:26 芸 阅读(336) 评论(0) 推荐(0) 编辑
  2009年7月24日
摘要: int[,]是定义矩阵的数组,初始化int[,] intArray = new int[3, 8];读取、获取方式,只能采用intArray[i,j]。int[][].定义可变成的数组,但是初始化必须知道数组行数 int[][] intsdf =new int[3][];然后再对具体的行初始化个数 intsdf[0] = new int[8];intsdf[1] = new int[9];ints... 阅读全文
posted @ 2009-07-24 16:08 芸 阅读(490) 评论(0) 推荐(0) 编辑
  2009年6月11日
摘要: 1ActiveReport 是.net下的一个出色的报表开发程序,虽然和水晶报表相比,名气不那么大,甚至有很多人不知道它的存在,但是并不妨碍它在.net报表开发中的出色表现,本文将一步一步地介绍如何使用它和VS2005开发.net报表。1. 安装:你可以从Data Dynamics的网站上下载最新的ActiveReport for .net 2 ,你可以免费使用,但是在生成的报表最下边有水印,不过... 阅读全文
posted @ 2009-06-11 12:27 芸 阅读(1296) 评论(0) 推荐(0) 编辑
  2009年3月24日
摘要: --命令COPY [FROM username [ /password ] [ @database_specification ] | TO username [ /password ] [ @database_specification ] ] {APPEND|CREATE|INSERT|REPLACE} destination_table [(column, column, column... 阅读全文
posted @ 2009-03-24 14:46 芸 阅读(690) 评论(0) 推荐(0) 编辑
  2008年6月24日
摘要: 水晶报表安装部署 阅读全文
posted @ 2008-06-24 17:00 芸 阅读(2263) 评论(0) 推荐(0) 编辑
  2008年6月2日
摘要: SQL操作全集 阅读全文
posted @ 2008-06-02 17:25 芸 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 怎么合并多行记录的字符串,一直是oracle新手喜欢问的SQL问题之一,关于这个问题的帖子我看过不下30个了,现在就对这个问题,进行一个总结。 什么是合并多行字符串(连接字符串)呢,例如:SQL> desc test;Name Type Nullable Default Comments ------- ------------ -------- ------- -------- COUNT... 阅读全文
posted @ 2008-06-02 13:52 芸 阅读(420) 评论(0) 推荐(0) 编辑
  2008年5月28日
摘要: ==============转自蜡人张=======================//Function: 在网页上使用户按Enter键自动跳到下一控件,并禁止使用鼠标右键和其他快捷键 //Method: 使用HTC组件结合CSS文件将Body的Keydown事件绑定到自定义函数上 //Author: Waxdoll Cheung //Time: 2005-01-27 21:31 //Memo... 阅读全文
posted @ 2008-05-28 14:28 芸 阅读(892) 评论(0) 推荐(0) 编辑
  2008年5月26日
摘要: 这里列出一些字符串格式化的样式,以及一些数字的格式化样式 阅读全文
posted @ 2008-05-26 14:18 芸 阅读(1191) 评论(0) 推荐(0) 编辑