随笔分类 - C#
字符串的常用操作(转)
摘要:IndexOf-搜索函数 int String.IndexOf(string value); 返回字符串中第一次出现子字符串的字符位置,从0开始,未找到子字符串返回-1。 int String.IndexOf(string value,int startIndex); 同上,但是从字符串的startIndex位置开始搜索,一直到字符串末尾。 int String.IndexOf(string va...
阅读全文
最简单的文件上传
摘要:纯属个人所见,请大家批评指点。btnUpLoad Button按钮fileUp FileUpload控件1usingSystem;2usingSystem.Data;3usingSystem.Configuration;4usingSystem.Collections;5usingSystem.Web;6usingSystem.Web.Security;7usingSystem.Web.UI;8u...
阅读全文
浙公网安备 33010602011771号