vb.net 中with ..... end with 的用法
With...End With 允许对指定的对象执行一系列语句,而不必重新限定对象的名称。例如,若要修改单个对象的若干不同的属性,请将属性赋值语句放在 With...End With 中,...
vb .net基础学习(二)
Dim aStr $ '定义一个字符串变量aStr $="This is a string"系统函数:Now 返回系统日期/时间 例:2009-4-22 8:29:33Time 返回当前时间 例:8:32:15字符串函数:①删除空白字符函数T...
vb .net基础学习(一)
1vb.net的数组定义 数组(Arrays),可以用相同名字引用一系列变量,并用数字(索引)来识别它们,在许多场合,使用数组可以缩短和简化程序,因为可以利用索引值设计一个循环,高效处理多种情况。数组的元素下标是...
c#TreeView 控件的使用
c#TreeView 控件的使用
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; names...
SQLServer的增删改查
实例一:查询 using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web...
c#连接SqlServer数据库
首先在代码窗口导入"System.Data.SqlClient"命名空间在连接字符串中,应该吧Persist Security I nfo设置为false(保证在使用信息打开连接后不可信的源无法访问到连接中涉及安全性的信息.)有四个对象:Connection,Comm...
.Net技术网址
http://space.itpub.net/12639172/spacelist-blog