摘要:
string 集中常用的方法: substring public String substring(int beginIndex)返回一个新的字符串,它是此字符串的一个子字符串。该子字符串始于指定索引处的字符,一直到此字符串末尾。 例如: "unhappy".substring(2) return...
阅读全文
posted @ 2009-02-27 11:01
zxlin25
阅读(1635)
推荐(1)
摘要:
1:string 类型表示零或更多 Unicode 字符组成的序列。string 是 .NET Framework 中 String 的别名。 尽管 string 是引用类型,但定义相等运算符(== 和 !=)是为了比较 string 对象(而不是引用)的值。这使得对字符串相等性的测试更为直观。例如...
阅读全文
posted @ 2009-02-27 10:18
zxlin25
阅读(277)
推荐(0)
摘要:
2008年08月18日 星期一 16:05 1、ExecuteReader();返回一个SqlDataReader对象或OleDbDataReader对象,这个看你的程序的需要去 做。可以通过这个对象来检查查询结果,它提供了“游水”式的执行方式,即从结果中读取...
阅读全文
posted @ 2009-02-26 20:11
zxlin25
阅读(319)
推荐(0)
摘要:
SqlDataReader 类 提供一种从 SQL Server 数据库读取行的只进流的方式。无法继承此类。 命名空间:System.Data.SqlClient 程序集:System.Data(在 system.data.dll 中) 语法 ...
阅读全文
posted @ 2009-02-26 19:31
zxlin25
阅读(425)
推荐(0)
摘要:
using System.Data.Sqlclient; 1:sqlconnection类: 2:sqlcommand 类: 3:SqlDataAdapter类: 4:SqlDataAdapter类:
阅读全文
posted @ 2009-02-26 19:30
zxlin25
阅读(573)
推荐(0)
摘要:
1:DataBinder.Eval(Container.DataItem,"username") 和 Eval绑定的区别 网上看到的: 如果只是显示值就可以了. 如果是要修改值就可以了. 2:获取IP代码: string userip = Request.UserHostAddress.ToStr...
阅读全文
posted @ 2009-02-26 19:04
zxlin25
阅读(133)
推荐(0)
摘要:
SqlCommand.ExecuteReader 方法 将 CommandText 发送到 Connection 并生成一个 SqlDataReader。 重载列表 ...
阅读全文
posted @ 2009-02-26 18:56
zxlin25
阅读(6057)
推荐(0)
摘要:
SqlCommand.ExecuteScalar 方法 行查询,并返回查询所返回的结果集中第一行的第一列。忽略其他列或行。 命名空间:System.Data.SqlClient 程序集:System.Data(在 system.data.dll 中) 语法 ...
阅读全文
posted @ 2009-02-26 18:51
zxlin25
阅读(859)
推荐(0)
摘要:
表示用于填充 DataSet 和更新 SQL Server 数据库的一组数据命令和一个数据库连接。无法继承此类。 SqlDataAdapter 是 DataSet 和 SQL Server 之间的桥接器,用于检索和保存数据。SqlDataAdapter 通过对数据源使用适当的 Transact-SQ...
阅读全文
posted @ 2009-02-26 18:44
zxlin25
阅读(484)
推荐(0)
摘要:
SqlCommand.ExecuteNonQuery 方法 对连接执行 Transact-SQL 语句并返回受影响的行数,为int数据类型 命名空间:System.Data.SqlClient 程序集:System.Data(在 system.data.dll 中) ...
阅读全文
posted @ 2009-02-26 16:27
zxlin25
阅读(662)
推荐(0)
摘要:
Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicstaticstringGetleftString(stringstr...
阅读全文
posted @ 2009-02-26 11:50
zxlin25
阅读(137)
推荐(0)
摘要:
Feeling regret about having bought something is a very unpleasant sort of unhappiness. Even with my under-buying ways, I sometimes come home with something I didn't really need to buy. Stores use extr...
阅读全文
posted @ 2009-02-26 07:31
zxlin25
阅读(234)
推荐(0)
摘要:
Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->1usingSystem; 2usingSystem.Collections.Generic; 3usingSystem.Text; 4 5namespace...
阅读全文
posted @ 2009-02-23 21:44
zxlin25
阅读(121)
推荐(0)
摘要:
Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1usingsystem; 2usingsystem.collections; ...
阅读全文
posted @ 2009-02-23 16:35
zxlin25
阅读(153)
推荐(0)
摘要:
struct_enum Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1usingSystem; 2usingSystem.C...
阅读全文
posted @ 2009-02-21 13:56
zxlin25
阅读(151)
推荐(0)
摘要:
instance:实例 declare:声明 goblal:全局 function:功能,函数 complex:复杂的 ;summary:摘要,概要 description:描述 query:查询 uncomment:取消注释 expand:展开 modify:修...
阅读全文
posted @ 2009-02-21 12:54
zxlin25
阅读(298)
推荐(0)
摘要:
Free English Lessons Study English Online for Free If you are looking for free English lessons you've come to the right p...
阅读全文
posted @ 2009-02-20 15:03
zxlin25
阅读(245)
推荐(0)
摘要:
How To Learn English! Here are some tips which may help you to master the English Language! Speak without Fear The biggest problem most people face i...
阅读全文
posted @ 2009-02-20 14:52
zxlin25
阅读(360)
推荐(0)
摘要:
When someone accepts an invitation to join your network (A group of people someone communicates and shares with on Windows Live. Someone's networ...
阅读全文
posted @ 2009-02-20 12:57
zxlin25
阅读(471)
推荐(0)
摘要:
(字幕)佛典有云:旗未动,风也未吹,是人的心自己在动。 It'swrittenintheBuddhistCanon.Theflagsarestill,nowindblows......It'stheheartofmanthat'sintumult...
阅读全文
posted @ 2009-02-20 12:42
zxlin25
阅读(681)
推荐(0)
摘要:
By Anthony Balderrama, CareerBuilder.com writer Find Jobs Keywo...
阅读全文
posted @ 2009-02-20 08:21
zxlin25
阅读(256)
推荐(0)
摘要:
Code Foreach循环: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1usingSystem; 2usingSys...
阅读全文
posted @ 2009-02-18 22:00
zxlin25
阅读(383)
推荐(0)
摘要:
Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1usingSystem; 2usingSystem.Collection...
阅读全文
posted @ 2009-02-18 21:19
zxlin25
阅读(188)
推荐(0)
摘要:
HTML 标签 定义和用法 noscript 元素用来定义在脚本未被执行时的替代内容(文本)。 此标签可被用于可识别 Your browser does not support JavaScript!......
阅读全文
posted @ 2009-02-17 09:05
zxlin25
阅读(192)
推荐(0)
摘要:
习惯了表格布局 用div 处处不习惯。 比如我用使用DIV代替表格布局(如下): , 使用DIV no-repeat:不重复
阅读全文
posted @ 2009-02-16 20:51
zxlin25
阅读(135)
推荐(0)
摘要:
Welcome to the MySpaceIM Chat Room! Send a message now to begin chatting with other members. Do not post offensive, violent or pornographic ma...
阅读全文
posted @ 2009-02-16 08:42
zxlin25
阅读(153)
推荐(0)
posted @ 2009-02-16 08:21
zxlin25
阅读(124)
推荐(0)
摘要:
Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->1usingSystem; 2usingSystem.Collections.Generic; 3usingSystem.Text; 4 5namespac...
阅读全文
posted @ 2009-02-15 20:35
zxlin25
阅读(111)
推荐(0)
摘要:
Simple String Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1usingSystem; 2usingSystem.Coll...
阅读全文
posted @ 2009-02-15 19:22
zxlin25
阅读(110)
推荐(0)
摘要:
Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1usingSystem; 2usingSystem.Collections.G...
阅读全文
posted @ 2009-02-15 19:02
zxlin25
阅读(194)
推荐(0)