ITeye博客

onlyLove

water84222 · 共 186 篇文章

一个用application存数组的例子

If you store an array in an Application object, you should not attempt to alter the elements of the stored array directly. For example, the following script does not work: <% Application("StoredArray")(3) = "new value" %> This is because the Application object is implemented as a collection. The ar…

2006-04-30 16:54 · 评论(0)

ASP.NET TreeView操作实例(代码调试通过)

本实例完成TreeView添加修改功能删除绑定DropDownList移动功能续写 .aspx代码 <form id="Form1" method="post" runat="server"> <FONT face="宋体"> <TABLE id="Table1" cellSpacing="1" cellPadding="1" width="700" border="1"> <TR> <TD style="WIDTH: 168px"></TD> <TD>TreeView操作实例</TD> </TR> <TR> <TD style="WIDTH: 168px" vAlign="top"> <i…

2006-04-30 16:49 · 评论(0)

Photoshop教你打造树叶上的露珠

制作工具:Photoshop CS 制作过程: 1、打开一幅绿叶的图片,如图1所示。 图1 2、选择图层面板下方的“创建新的图层”新建图层1,在图层1上绘制一个椭圆,并用黑色填充,效果如图2所示。 图2 3、选择菜单栏中的“图层”“图层样式”“混合选项”命令,打开图层样式对话框,将对话框中的“添充不透明度”设置为0%,如图3所示。 图3 4、选择“图层样式”对话框中的“投影”选项,设置“不透明度为100%,距离为0像素,大小为0像素,等高线为第二排第一种,如图4所示。 图4 5、选择“图层样式”对话框中的“内阴影”选项,设置“混合模式”为“颜色加深”,不透明度为43%,距离为2像素,大小为4…

2006-04-30 15:03 · 评论(0)

在listview 控件标题上添加图标的模块 (VB)

在listview 控件标题上添加图标的模块 (VB) '以下添加到模块中. 调用很简单,直接看好了. Private Type LVCOLUMN mask As Long fmt As Long cx As Long pszText As String cchTextMax As Long iSubItem As Long iImage As Long iOrder As Long End Type Declare Function SendMessageColumn Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal …

2006-04-30 14:38 · 评论(0)

ListView控件搜索函数(VB)

ListView 搜索函数 '************************************** ' 函数名: SearchListView ' 描述:ListView 搜索函数 '日期:2005.03.05 '************************************** Option Explicit Public Sub SearchListView(ListViewX As ListView, SearchString As String, ListViewZ As ListView) On Error Resume Next Dim w, x, y, z A…

2006-04-30 14:37 · 评论(0)

动态创建SQL Server数据库、表、存储过程

下面是利用SQL语句创建数据库、表、存储过程、视图、索引、规则、修改表、查看数据等的方法。所要增加的控件如下: Imports System.Data Imports System.Data.SqlClient Public Class Form1 Inherits System.Windows.Forms.Form Private ConnectionString As String = "Data Source=.;Initial Catalog=;User Id=sa;Password=;" Private reader As SqlDataReader = Nothing Priva…

2006-04-30 14:31 · 评论(0)