会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
依然---编程
或许,这样,然后
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2010年5月27日
把textbox中的文本按照/r/n拆分成string[]
摘要: string str = this.txtNames.Text.Trim(); string[] result = str.Replace("/r", string.Empty).Split(new char[] { '/n' });
阅读全文
posted @ 2010-05-27 18:46 依然---编程
阅读(175)
评论(0)
推荐(0)
编辑
在asp.net中 把一个文本文档的中的数据一行一行添加到textbox中
摘要: 先把文本文档上传到服务器上用viewstate保存路径 /// <summary> /// 上传文件 /// </summary> /// <returns></returns> public bool StartPostFile() { bool mark = true; string fileName = this.fuText.FileName; string fileType = fileName.Substring(fileName.LastIndexOf('.')); if (fileType == ".tx
阅读全文
posted @ 2010-05-27 18:04 依然---编程
阅读(442)
评论(0)
推荐(0)
编辑