随笔分类 -  C#

字符串的常用操作(转)
摘要:IndexOf-搜索函数 int String.IndexOf(string value); 返回字符串中第一次出现子字符串的字符位置,从0开始,未找到子字符串返回-1。 int String.IndexOf(string value,int startIndex); 同上,但是从字符串的startIndex位置开始搜索,一直到字符串末尾。 int String.IndexOf(string va... 阅读全文
posted @ 2008-05-14 16:53 向左、 阅读(536) 评论(0) 推荐(0)
最简单的文件上传
摘要:纯属个人所见,请大家批评指点。btnUpLoad Button按钮fileUp FileUpload控件1usingSystem;2usingSystem.Data;3usingSystem.Configuration;4usingSystem.Collections;5usingSystem.Web;6usingSystem.Web.Security;7usingSystem.Web.UI;8u... 阅读全文
posted @ 2008-05-04 12:08 向左、 阅读(242) 评论(0) 推荐(0)